Browse Source

fix: 登记人

hsun 2 years ago
parent
commit
0a8b4efaaa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

@@ -629,7 +629,7 @@ func (rg *RegisterController) Invoice(c *gin.Context) {
 				InvoiceType:        req.InvoiceType,
 				InvoiceDate:        t,
 				AdminId:            int(adminInfo.AdminId),
-				AdminName:          adminInfo.AdminName,
+				AdminName:          adminInfo.RealName,
 			}
 			v.Set()
 			newInvoice = append(newInvoice, v)