ziwen 1 year ago
parent
commit
ff74e7e921
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/auth.go

+ 1 - 1
controller/auth.go

@@ -171,7 +171,7 @@ func (a *AuthController) Register(c *gin.Context) {
 
 		err = user.Add()
 		if err != nil {
-			resp.FailData("新增用户信息失败", "Err:"+err.Error(), c)
+			resp.FailData("新增用户信息失败"+"Err:"+err.Error(), "Err:"+err.Error(), c)
 			return
 		}
 		userId = int(user.Id)