Commit c511f1750d0c24f668476fcf301a220d04e67edd
1 parent
1b499c3f
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
@@ -1388,6 +1388,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { | @@ -1388,6 +1388,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) { | ||
1388 | redlist := uinfo.GetRedCatIdList() | 1388 | redlist := uinfo.GetRedCatIdList() |
1389 | resp.Data.LimitCatList = append(resp.Data.LimitCatList, redlist...) | 1389 | resp.Data.LimitCatList = append(resp.Data.LimitCatList, redlist...) |
1390 | uinfo.CalcGoldRate() | 1390 | uinfo.CalcGoldRate() |
1391 | + SaveUserInfo(uinfo, strconv.Itoa(uuid)) | ||
1391 | 1392 | ||
1392 | resp.Data.CatList = append(resp.Data.CatList, uinfo.PosInfo...) | 1393 | resp.Data.CatList = append(resp.Data.CatList, uinfo.PosInfo...) |
1393 | resp.Data.Coin.UserId = uuid | 1394 | resp.Data.Coin.UserId = uuid |