Commit de250e156be3c7803a7e3891257f645f75dd4b00
1 parent
245bca46
Exists in
master
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,9 +238,12 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { | ||
238 | 238 | ||
239 | uinfo.GetCashCnt++ | 239 | uinfo.GetCashCnt++ |
240 | //如果是前六挡 | 240 | //如果是前六挡 |
241 | - if info.Cid <= 6 { | 241 | + if info.Cid <= 6 &&rdata.Ctype == 1{ |
242 | uinfo.WithDraw.Cashdata[index].Isnew = 0 | 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 | uinfo.RealGold = gold | 248 | uinfo.RealGold = gold |
246 | //uinfo.RealGold -= drawnum * 100 | 249 | //uinfo.RealGold -= drawnum * 100 |