From 4ecc64318f24192853e3fffe40f235069828f2fb Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Mon, 15 Jun 2020 17:02:15 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/logic.go | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) 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