...
 
Commits (22)
...@@ -13,9 +13,9 @@ import ( ...@@ -13,9 +13,9 @@ import (
"hilo-group/_const/enum/msg_e" "hilo-group/_const/enum/msg_e"
"hilo-group/cv/group_power_cv" "hilo-group/cv/group_power_cv"
"hilo-group/cv/user_cv" "hilo-group/cv/user_cv"
"hilo-group/domain/cache/user_c"
"hilo-group/domain/event/group_power_ev" "hilo-group/domain/event/group_power_ev"
"hilo-group/domain/model/groupPower_m" "hilo-group/domain/model/groupPower_m"
"hilo-group/domain/model/user_m"
"hilo-group/myerr/bizerr" "hilo-group/myerr/bizerr"
"time" "time"
) )
...@@ -161,7 +161,8 @@ func GetGroupPowerStar(model *domain.Model, groupPowerId mysql.ID, _type groupPo ...@@ -161,7 +161,8 @@ func GetGroupPowerStar(model *domain.Model, groupPowerId mysql.ID, _type groupPo
for _, row := range rank { for _, row := range rank {
userIds = append(userIds, row.UserId) userIds = append(userIds, row.UserId)
} }
users, err := user_m.GetUserMapByIds(model, userIds) users, err := user_c.GetUserTinyMap(model, userIds, true)
//users, err := user_m.GetUserMapByIds(model, userIds)
for _, row := range rank { for _, row := range rank {
user := users[row.UserId] user := users[row.UserId]
score := row.Score score := row.Score
......