Commit 2d4b9c4a678e81534fc5e4322ecc4c4abe1a503b
1 parent
aff2530c
Exists in
ver2.3.0
and in
1 other branch
提交
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
... | ... | @@ -238,9 +238,12 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { |
238 | 238 | |
239 | 239 | uinfo.GetCashCnt++ |
240 | 240 | //如果是前六挡 |
241 | - if info.Cid <= 6 { | |
241 | + if info.Cid <= 6 && rdata.Ctype == 1 { | |
242 | 242 | uinfo.WithDraw.Cashdata[index].Isnew = 0 |
243 | 243 | } |
244 | + if rdata.Ctype == 2 { | |
245 | + uinfo.WithDraw.SpecialCashdata[index].Isnew = 0 | |
246 | + } | |
244 | 247 | |
245 | 248 | uinfo.RealGold = gold |
246 | 249 | //uinfo.RealGold -= drawnum * 100 | ... | ... |