Commit 5c94367b authored by hujiebin's avatar hujiebin

feat:多加grade返回

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