- rename AuthTypeWeixin from weixin to wxqrcode
This commit is contained in:
@@ -11,9 +11,9 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
AuthTypeWeixin = "weixin"
|
||||
AuthTypeMP = "weixinsns"
|
||||
AuthTypeMini = "weixinmini"
|
||||
AuthTypeWeixin = "wxqrcode" // 微信扫码
|
||||
AuthTypeMP = "weixinsns" // 公众号
|
||||
AuthTypeMini = "weixinmini" // 小程序
|
||||
)
|
||||
|
||||
type Auther struct {
|
||||
|
||||
@@ -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 "微信回调的登录状态"
|
||||
|
||||
Reference in New Issue
Block a user