初步实现门店的逻辑代码
This commit is contained in:
13
internal/consts/redis.go
Normal file
13
internal/consts/redis.go
Normal file
@ -0,0 +1,13 @@
|
||||
package consts
|
||||
|
||||
// Redis key 前缀
|
||||
const (
|
||||
// 用户相关
|
||||
UserCode = "user:code:" // 用户验证码
|
||||
UserToken = "user:token:" // 用户token
|
||||
UserInfo = "user:info:" // 用户信息
|
||||
|
||||
// 系统相关
|
||||
SystemConfig = "system:config" // 系统配置
|
||||
SystemCache = "system:cache:" // 系统缓存
|
||||
)
|
||||
Reference in New Issue
Block a user