RegisterUser支持注册用户时,不指定手机号

This commit is contained in:
gazebo
2019-10-21 15:14:34 +08:00
parent d24b8ea53d
commit bed2d85833
4 changed files with 49 additions and 26 deletions

View File

@@ -18,8 +18,8 @@ type User2Controller struct {
// @Title 用户注册
// @Description 用户注册
// @Param payload formData string true "json数据User对象(手机号必填)"
// @Param mobileVerifyCode formData string true "手机验证码通过auth2.SendVerifyCode获得"
// @Param authToken formData string false "之前通过login得到的认证TOKEN可以为空)"
// @Param mobileVerifyCode formData string false "手机验证码通过auth2.SendVerifyCode获得mobileVerifyCode与authToken不能同时为空"
// @Param authToken formData string false "之前通过login得到的认证TOKENmobileVerifyCode与authToken不能同时为空)"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /RegisterUser [post]