feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-03 11:32:26 +08:00
parent d9cbdd2486
commit 95b12fdb07
9 changed files with 101 additions and 40 deletions

View File

@ -19,7 +19,7 @@ type (
Password string `json:"password" form:"password"`
}
accountRegisterForm struct {
Name string `json:"name" form:"name" binding:"required"`
Name string `json:"name" form:"name"`
Mobile string `json:"mobile" form:"mobile" binding:"required"`
Captcha string `json:"captcha" form:"captcha" binding:"required"`
Password string `json:"password" form:"password" binding:"required"`

View File

@ -33,7 +33,7 @@ type (
func (*User) Info(c *gin.Context) {
data := user.NewInstance()(api.GetSession()(c).(*session.Enterprise)).Info()
api.APISuccess(data)
api.APISuccess(data)(c)
}
func (*User) BindMobile(c *gin.Context) {