diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index b67e186..a6e1ecf 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -1452,7 +1452,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { resp.Data.Coin.IcomeRate = strconv.FormatInt(accrate, 10) } - resp.Data.Level = len(uinfo.BuyCatInfo) + _, resp.Data.Level = uinfo.CalcHigestCatName() //len(uinfo.BuyCatInfo) resp.Data.TotalCashReward = G_randVal resp.Data.Guide = true -- libgit2 0.21.0