用户修改头像、昵称、绑定手机号、获取用户详细信息

This commit is contained in:
chy
2025-06-06 15:48:05 +08:00
parent 01b898163a
commit e40f9987db
12 changed files with 280 additions and 19 deletions

View File

@ -1,13 +1,7 @@
package consts
// Redis key 前缀
// 用户
const (
// 用户相关
UserCode = "user:code:" // 用户验证码
UserToken = "user:token:" // 用户token
UserInfo = "user:info:" // 用户信息
// 系统相关
SystemConfig = "system:config" // 系统配置
SystemCache = "system:cache:" // 系统缓存
UserBindPhoneKey = "user:bindPhone:%d"
UserCodeExpire = 5 * 60
)