Commit ff109197 authored by hujiebin's avatar hujiebin

1

parent 4a8e3f42
......@@ -27,6 +27,7 @@ type CvCpLevel struct {
EndPoints uint32 `json:"endPoints,omitempty"` // 下个等级所需CP值
ExpireAtUnix int64 `json:"expireAtUnix,omitempty"` // 有效期,时间戳
SettlementDate string `json:"settlementDate"` // 等级过期时间
MaxLevel cp_e.CpLevel `json:"maxLevel"` // cp最大的等级
}
// 资源等级
......
......@@ -102,6 +102,7 @@ func CpSpace(c *gin.Context) (*mycontext.MyContext, error) {
EndPoints: nextPoints,
ExpireAtUnix: expireAtUnix,
SettlementDate: settlementDate,
MaxLevel: cp_e.CpLevelMax,
},
ResLevelList: cp_cv.CvResLevelList,
PrivilegeList: allPrivilegeList,
......
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