From 48cd35a4525520abe1d25119242cd5d2ab1314e5 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Mon, 15 Jun 2020 11:23:32 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/logic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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