用户修改头像、昵称、绑定手机号、获取用户详细信息
This commit is contained in:
@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user