diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index ea33a13..7f31128 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -1460,6 +1460,9 @@ func HandlerExchangePos(w http.ResponseWriter, data string, uuid int) { uinfo.PosInfo[rdata.From].Cat, uinfo.PosInfo[rdata.To].Cat = uinfo.PosInfo[rdata.To].Cat, uinfo.PosInfo[rdata.From].Cat } } + + resp.Data.CatList = append(resp.Data.CatList, uinfo.PosInfo...) + //重新计算速率 uinfo.CalcGoldRate() uinfo.IsNew = 1 -- libgit2 0.21.0