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