用户中心

This commit is contained in:
junleea 2025-06-01 20:24:24 +08:00
parent 6366a02900
commit abd00e9ec0
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ func GetUserByIDFromUserCenter(id int) dao.User {
//先从redis获取
key := "user_info_" + strconv.Itoa(id)
userStr := worker.GetRedis(key)
log.Println("user_str:", userStr)
//log.Println("user_str:", userStr)
if userStr != "" {
err := json.Unmarshal([]byte(userStr), &user)
if err != nil {