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