Commit 864e580d59899385acbf3d2459e0d80d7d00fba9

Authored by 陆恒
1 parent 800d3095
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/logic.go
... ... @@ -1452,7 +1452,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) {
1452 1452 resp.Data.Coin.IcomeRate = strconv.FormatInt(accrate, 10)
1453 1453 }
1454 1454  
1455   - resp.Data.Level = len(uinfo.BuyCatInfo)
  1455 + _, resp.Data.Level = uinfo.CalcHigestCatName() //len(uinfo.BuyCatInfo)
1456 1456 resp.Data.TotalCashReward = G_randVal
1457 1457  
1458 1458 resp.Data.Guide = true
... ...