✨ scan the QR code to log in on the WeChat public account
This commit is contained in:
@@ -6,4 +6,7 @@ const (
|
||||
UserLoginCaptchaRedisKey = "user:login:captcha:"
|
||||
UserAuthRoleRedisKey = "user:auth:role:"
|
||||
UserAuthPermissionRedisKey = "user:auth:permission:"
|
||||
UserLoginClientRedisKey = "user:login:client:"
|
||||
UserLoginQrcodeRedisKey = "user:login:qrcode:"
|
||||
UserLoginWechatRedisKey = "user:wechat:token:"
|
||||
)
|
||||
|
7
common/enum/oauth_source.go
Normal file
7
common/enum/oauth_source.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package enum
|
||||
|
||||
const (
|
||||
OAuthSourceWechat = "wechat"
|
||||
OAuthSourceQQ = "qq"
|
||||
OAuthSourceWeibo = "weibo"
|
||||
)
|
Reference in New Issue
Block a user