diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 3983536..c73c318 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -449,7 +449,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { resp.Data.Coin.IcomeRate = strconv.FormatInt(accrate, 10) } - resp.Data.Level = len(uinfo.BuyCatInfo) - 1 + resp.Data.Level = len(uinfo.BuyCatInfo) resp.Code = 0 break } -- libgit2 0.21.0