diff --git a/controllers/auth_controller.go b/controllers/auth_controller.go index 9e7580ebc..d7c1dd9f7 100644 --- a/controllers/auth_controller.go +++ b/controllers/auth_controller.go @@ -123,7 +123,7 @@ func (c *AuthController) SendMobileVerifyCode() { // @Param token header string true "认证token" // @Param mobile formData string true "手机号" // @Param code formData string true "验证码" -// @Param nickname formData string true "用户名" +// @Param nickname formData string false "用户名" // @Success 200 {object} controllers.CallResult // @Failure 200 {object} controllers.CallResult // @router /BindMobile [post]