From aeda2df6bd70ca4b9aaaa20e89d4e774c00f1611 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 11 Mar 2019 08:55:58 +0800 Subject: [PATCH] - authType for Login --- controllers/auth2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/auth2.go b/controllers/auth2.go index 29111a346..0ec66eb0b 100644 --- a/controllers/auth2.go +++ b/controllers/auth2.go @@ -54,7 +54,7 @@ func (c *Auth2Controller) SendVerifyCode() { // @Title 登录接口 // @Description 登录接口(微信与公众号登录不能直接调用此接口) -// @Param authType formData string true "登录类型,当前支持[localpass:本地账号密码,mobile:手机短信,weixin:微信登录,weixinsns:微信公众号登录,weixinmini;小程序登录]" +// @Param authType formData string true "登录类型,当前支持[localpass:本地账号密码,mobile:手机短信,weixin:微信登录,weixinsns:微信公众号,weixinmini;小程序,ddstaff:钉钉企业,ddqrcode:钉钉扫码]" // @Param authSecret formData string true "不同登录类型的登录秘密,如果是localpass登录类型,是md5后的值(空串不要md5)" // @Param authID formData string false "登录ID,登录类型为localpass时依赖于authIDType,其它为相应登录类型的id" // @Param authIDType formData string false "只有在登录类型为localpass时,才有意义,分别为:userid2:用户名,email,mobile" @@ -211,7 +211,7 @@ func (c *Auth2Controller) AddAuthBind() { // @Title 删除认证方式 // @Description 删除认证方式 // @Param token header string true "认证token" -// @Param authType formData string true "登录类型,当前支持[weixin:微信登录,weixinsns:微信公众号登录,weixinmini;小程序登录]" +// @Param authType formData string true "登录类型,参见Login的描述" // @Success 200 {object} controllers.CallResult // @Failure 200 {object} controllers.CallResult // @router /RemoveAuthBind [post]