feat:完善信息

This commit is contained in:
henry
2021-10-13 14:35:24 +08:00
parent 21dc62ba8e
commit 8866b83cfb
16 changed files with 4728 additions and 46 deletions

View File

@ -43,7 +43,7 @@ func (a *Account) Login(c *gin.Context) {
Password string
}{Mobile: form.Mobile, Password: form.Password},
})
api.APIResponse(err, data)
api.APIResponse(err, data)(c)
}
func (a *Account) Register(c *gin.Context) {
@ -57,7 +57,7 @@ func (a *Account) Register(c *gin.Context) {
Name: form.Name, Mobile: form.Mobile, Captcha: form.Captcha,
Password: form.Password, RepeatPass: form.RepeatPass, Identity: form.Identity,
})
api.APIResponse(err, data)
api.APIResponse(err, data)(c)
}
func (a *Account) BindMobile() {