Commit c37db2f8 authored by hujiebin's avatar hujiebin

feat:User

parent c09b7ca3
......@@ -49,7 +49,7 @@ type CvGroupPowerRankData struct {
// 家族之星
type CvGroupPowerStarData struct {
user_cv.CvUserTiny `json:",inline"`
User user_cv.CvUserTiny `json:"user"`
Score mysql.Num `json:"score"` // 对应分值
}
......
......@@ -151,7 +151,7 @@ func GroupPowerStar(c *gin.Context) (*mycontext.MyContext, error) {
for _, row := range rank {
user := users[row.UserId]
response = append(response, group_power_cv.CvGroupPowerStarData{
CvUserTiny: user_cv.CvUserTiny{
User: user_cv.CvUserTiny{
Id: user.ID,
ExternalId: user.ExternalId,
Code: user.Code,
......
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