- rename AuthTypeWeixin from weixin to wxqrcode

This commit is contained in:
gazebo
2019-08-07 18:45:47 +08:00
parent 70c9862403
commit 7b488090bc
2 changed files with 5 additions and 5 deletions

View File

@@ -11,9 +11,9 @@ import (
)
const (
AuthTypeWeixin = "weixin"
AuthTypeMP = "weixinsns"
AuthTypeMini = "weixinmini"
AuthTypeWeixin = "wxqrcode" // 微信扫码
AuthTypeMP = "weixinsns" // 公众号
AuthTypeMini = "weixinmini" // 小程序
)
type Auther struct {

View File

@@ -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 "微信回调的登录状态"