Commit bf64db0d8b1f4db9998bce189f4144e1a1d37e35

Authored by 陆恒
1 parent 3f9282e6
Exists in master

提交

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -354,8 +354,10 @@ func HandlerTestaddCat(w http.ResponseWriter, data string, uuid int) { @@ -354,8 +354,10 @@ func HandlerTestaddCat(w http.ResponseWriter, data string, uuid int) {
354 } else if catid == 48 { 354 } else if catid == 48 {
355 //赌博猫 355 //赌博猫
356 uinfo.SetDuboCatPos(catid) 356 uinfo.SetDuboCatPos(catid)
  357 + } else {
  358 + uinfo.PosInfo[rdata.Position].Cat = catid
357 } 359 }
358 - uinfo.PosInfo[rdata.Position].Cat = catid 360 +
359 uinfo.CalcGoldRate() 361 uinfo.CalcGoldRate()
360 SaveUserInfo(uinfo, strconv.Itoa(uuid)) 362 SaveUserInfo(uinfo, strconv.Itoa(uuid))
361 break 363 break