Commit ace7b818 authored by chenweijian's avatar chenweijian

merge master

parent 145b0db7
...@@ -13,6 +13,7 @@ import ( ...@@ -13,6 +13,7 @@ import (
"github.com/jinzhu/now" "github.com/jinzhu/now"
"hilo-group/_const/enum/msg_e" "hilo-group/_const/enum/msg_e"
"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/msg_m" "hilo-group/domain/model/msg_m"
...@@ -222,7 +223,8 @@ func GetGroupPowerStar(model *domain.Model, groupPowerId mysql.ID, _type groupPo ...@@ -222,7 +223,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