This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/common/constant/redis_key.go
2024-09-26 01:13:06 +08:00

17 lines
398 B
Go

package constant
const (
// 登录相关的redis key
UserLoginSmsRedisKey = "user:sms:"
UserLoginTokenRedisKey = "user:token:"
UserLoginCaptchaRedisKey = "user:captcha:"
UserLoginClientRedisKey = "user:client:"
UserLoginQrcodeRedisKey = "user:qrcode:"
UserSessionRedisKey = "user:session:"
)
// 登录之后
const (
CommentSubmitCaptchaRedisKey = "comment:submit:captcha:"
)