Commit 5c94367b authored by hujiebin's avatar hujiebin

feat:多加grade返回

parent e678d573
......@@ -9,6 +9,7 @@ import (
type CvGroupPowerInfo struct {
CvGroupPowerBase `json:",inline"`
CvGroupPowerMember `json:",inline"`
CvGroupPowerGrade `json:",inline"`
}
// 家族基本信息
......
......@@ -65,6 +65,10 @@ func MGetGroupPowers(c *gin.Context) (*mycontext.MyContext, error) {
MemberNum: memberNum,
MemberMax: memberMax,
},
CvGroupPowerGrade: group_power_cv.CvGroupPowerGrade{
Grade: grade,
Exp: groupPowerGrade[groupPowerId].Exp,
},
}
}
resp.ResponseOk(c, response)
......
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