diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 0dd45a1..1fa9818 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -882,6 +882,7 @@ func HandlerCompose(w http.ResponseWriter, data string, uuid int) { //重新计算一下速度 uinfo.CalcGoldRate() + SaveUserInfo(uinfo, strconv.Itoa(uuid)) resp.Data.CatList = append(resp.Data.CatList, uinfo.PosInfo...) resp.Data.Coin.UserId = uuid resp.Data.Coin.Coin = strconv.FormatInt(uinfo.Gold, 10) -- libgit2 0.21.0