Commit 9139ffb2 authored by hujiebin's avatar hujiebin

1

parent f3b584cd
...@@ -76,6 +76,8 @@ func CpSpace(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -76,6 +76,8 @@ func CpSpace(c *gin.Context) (*mycontext.MyContext, error) {
} }
if cpLevel != cp_e.CpLevelMax { if cpLevel != cp_e.CpLevelMax {
nextPoints = cp_e.CpLevelPoints[cpLevel+1] nextPoints = cp_e.CpLevelPoints[cpLevel+1]
} else {
nextPoints = cp_e.CpLevelPoints[cp_e.CpLevelMax]
} }
userPrivileges, err := cp_m.MGetUserSvipPrivilege(model, []uint64{userId}) userPrivileges, err := cp_m.MGetUserSvipPrivilege(model, []uint64{userId})
if err != nil { if err != nil {
......
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