From 9139ffb2790d892497049a87ea8ba344dd4a25a0 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Mon, 5 Jun 2023 15:48:53 +0800 Subject: [PATCH] 1 --- route/cp_r/space.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/route/cp_r/space.go b/route/cp_r/space.go index ae96ef5..5171c13 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 { -- 2.22.0