Commit 7d4a2878 authored by hujiebin's avatar hujiebin

feat:for build

parent ad53e04f
...@@ -479,7 +479,7 @@ func BuildPopularGroupInfo(model *domain.Model, myUserId uint64, groupInfo []*gr ...@@ -479,7 +479,7 @@ func BuildPopularGroupInfo(model *domain.Model, myUserId uint64, groupInfo []*gr
for _, v := range groupInfo { for _, v := range groupInfo {
owners = append(owners, v.Owner) owners = append(owners, v.Owner)
} }
powerIds, powerNames, err := group_power_cv.BatchGetGroupPower(model.Db, owners) powerIds, powerNames, _, err := group_power_cv.BatchGetGroupPower(model.Db, owners)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
...@@ -12,12 +12,12 @@ import ( ...@@ -12,12 +12,12 @@ import (
"time" "time"
) )
type GroupPowerGrade struct { //type GroupPowerGrade struct {
GroupPowerId uint64 `json:"group_power_id"` // GroupPowerId uint64 `json:"group_power_id"`
Exp int64 `json:"exp"` // Exp int64 `json:"exp"`
Grade int32 `json:"grade"` // Grade int32 `json:"grade"`
ExpireAt time.Time `json:"expire_at"` // ExpireAt time.Time `json:"expire_at"`
} //}
type GroupPowerQuitLog struct { type GroupPowerQuitLog struct {
Id uint64 `json:"id"` Id uint64 `json:"id"`
......
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