- rename AuthTypeWeixin from weixin to wxqrcode
This commit is contained in:
@@ -11,9 +11,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
AuthTypeWeixin = "weixin"
|
AuthTypeWeixin = "wxqrcode" // 微信扫码
|
||||||
AuthTypeMP = "weixinsns"
|
AuthTypeMP = "weixinsns" // 公众号
|
||||||
AuthTypeMini = "weixinmini"
|
AuthTypeMini = "weixinmini" // 小程序
|
||||||
)
|
)
|
||||||
|
|
||||||
type Auther struct {
|
type Auther struct {
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ func (c *Auth2Controller) GetTokenInfo() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Title 微信认证回调接口
|
// @Title 微信扫码认证回调接口
|
||||||
// @Description 微信认证回调接口,自己不能直接调用
|
// @Description 微信扫码认证回调接口,自己不能直接调用
|
||||||
// @Param code query string true "客户同意后得到的code"
|
// @Param code query string true "客户同意后得到的code"
|
||||||
// @Param block query string true "回调地址"
|
// @Param block query string true "回调地址"
|
||||||
// @Param state query string false "微信回调的登录状态"
|
// @Param state query string false "微信回调的登录状态"
|
||||||
|
|||||||
Reference in New Issue
Block a user