Commit b387e695 authored by chenweijian's avatar chenweijian

Merge branch 'feature/group_power_rank_act' into 'master'

家族月度排行活动

See merge request !23
parents 6fa50ea6 9efefbb6
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment