Commit 52b6df9c836e379968fccb28f613243ac76c0bdb

Authored by 陆恒
1 parent 1662123a
Exists in master

提交

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/HttpServer/logic/function.go
@@ -231,8 +231,9 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) { @@ -231,8 +231,9 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) {
231 d2.Catlv = 0 231 d2.Catlv = 0
232 232
233 } 233 }
234 - udata.Goldrate = 0 234 +
235 udata.Loverate = 0 235 udata.Loverate = 0
  236 + udata.CalcGoldRate()
236 237
237 //初始化商店信息 238 //初始化商店信息
238 initcatcfg := jsonconf.GetCatConfig(1) 239 initcatcfg := jsonconf.GetCatConfig(1)