diff --git a/route/cp_r/space.go b/route/cp_r/space.go index ae96ef54c79c42790b743898c5fd1289d3e4da9e..5171c13c60e3c6b84b7797302e35faf3a6ef030b 100644 --- a/route/cp_r/space.go +++ b/route/cp_r/space.go @@ -76,6 +76,8 @@ func CpSpace(c *gin.Context) (*mycontext.MyContext, error) { } if cpLevel != cp_e.CpLevelMax { nextPoints = cp_e.CpLevelPoints[cpLevel+1] + } else { + nextPoints = cp_e.CpLevelPoints[cp_e.CpLevelMax] } userPrivileges, err := cp_m.MGetUserSvipPrivilege(model, []uint64{userId}) if err != nil {