Commit 4ecc64318f24192853e3fffe40f235069828f2fb
1 parent
d26b6cc9
Exists in
master
提交
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
... | ... | @@ -1460,6 +1460,9 @@ func HandlerExchangePos(w http.ResponseWriter, data string, uuid int) { |
1460 | 1460 | uinfo.PosInfo[rdata.From].Cat, uinfo.PosInfo[rdata.To].Cat = uinfo.PosInfo[rdata.To].Cat, uinfo.PosInfo[rdata.From].Cat |
1461 | 1461 | } |
1462 | 1462 | } |
1463 | + | |
1464 | + resp.Data.CatList = append(resp.Data.CatList, uinfo.PosInfo...) | |
1465 | + | |
1463 | 1466 | //重新计算速率 |
1464 | 1467 | uinfo.CalcGoldRate() |
1465 | 1468 | uinfo.IsNew = 1 | ... | ... |