feat:完善入驻信息管理
This commit is contained in:
@ -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"`
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user