Commit 48cd35a4525520abe1d25119242cd5d2ab1314e5
1 parent
3a981548
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -449,7 +449,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { | @@ -449,7 +449,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { | ||
449 | resp.Data.Coin.IcomeRate = strconv.FormatInt(accrate, 10) | 449 | resp.Data.Coin.IcomeRate = strconv.FormatInt(accrate, 10) |
450 | } | 450 | } |
451 | 451 | ||
452 | - resp.Data.Level = len(uinfo.BuyCatInfo) - 1 | 452 | + resp.Data.Level = len(uinfo.BuyCatInfo) |
453 | resp.Code = 0 | 453 | resp.Code = 0 |
454 | break | 454 | break |
455 | } | 455 | } |