Commit 0cc05b9ec8caf3eb33b3ed011047d1cdad832385

Authored by 陆恒
1 parent 3fb4ceaa
Exists in master

提交

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -2458,6 +2458,9 @@ func HandlerChooseNum(w http.ResponseWriter, data string, uuid int) { @@ -2458,6 +2458,9 @@ func HandlerChooseNum(w http.ResponseWriter, data string, uuid int) {
2458 resp.Code = 1 2458 resp.Code = 1
2459 break 2459 break
2460 } else { 2460 } else {
  2461 + if catpos >= 0 && catpos < len(uinfo.DuboCat) {
  2462 + uinfo.DuboCat[catpos].ChooseNum = rdata.Number
  2463 + }
2461 //将该号码移除 2464 //将该号码移除
2462 redishandler.GetRedisClient().HDel(redis.CAIPIAOLEFTNUM_KEY, strconv.Itoa(rdata.Number)) 2465 redishandler.GetRedisClient().HDel(redis.CAIPIAOLEFTNUM_KEY, strconv.Itoa(rdata.Number))
2463 //添加 2466 //添加