diff --git a/business/auth2/authprovider/weixin/weixin.go b/business/auth2/authprovider/weixin/weixin.go index 98f3a12a9..5fda90895 100644 --- a/business/auth2/authprovider/weixin/weixin.go +++ b/business/auth2/authprovider/weixin/weixin.go @@ -11,9 +11,9 @@ import ( ) const ( - AuthTypeWeixin = "weixin" - AuthTypeMP = "weixinsns" - AuthTypeMini = "weixinmini" + AuthTypeWeixin = "wxqrcode" // 微信扫码 + AuthTypeMP = "weixinsns" // 公众号 + AuthTypeMini = "weixinmini" // 小程序 ) type Auther struct { diff --git a/controllers/auth2.go b/controllers/auth2.go index 679932ac1..8d5aba06a 100644 --- a/controllers/auth2.go +++ b/controllers/auth2.go @@ -93,8 +93,8 @@ func (c *Auth2Controller) GetTokenInfo() { }) } -// @Title 微信认证回调接口 -// @Description 微信认证回调接口,自己不能直接调用 +// @Title 微信扫码认证回调接口 +// @Description 微信扫码认证回调接口,自己不能直接调用 // @Param code query string true "客户同意后得到的code" // @Param block query string true "回调地址" // @Param state query string false "微信回调的登录状态"