Commit 0cc05b9ec8caf3eb33b3ed011047d1cdad832385
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 | 2458 | resp.Code = 1 |
2459 | 2459 | break |
2460 | 2460 | } else { |
2461 | + if catpos >= 0 && catpos < len(uinfo.DuboCat) { | |
2462 | + uinfo.DuboCat[catpos].ChooseNum = rdata.Number | |
2463 | + } | |
2461 | 2464 | //将该号码移除 |
2462 | 2465 | redishandler.GetRedisClient().HDel(redis.CAIPIAOLEFTNUM_KEY, strconv.Itoa(rdata.Number)) |
2463 | 2466 | //添加 | ... | ... |