初步实现门店的逻辑代码

This commit is contained in:
2025-06-05 11:43:25 +08:00
parent 8b63f72f99
commit 9d20953377
14 changed files with 167 additions and 64 deletions

13
internal/consts/redis.go Normal file
View 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:" // 系统缓存
)