Commit 703874e80e505e4d5e5939476f0eb6813ba309f8
1 parent
716c32b9
Exists in
master
and in
4 other branches
根据版本开启是否自动审核
Showing
1 changed file
with
8 additions
and
3 deletions
Show diff stats
src/HttpServer/logic/logic.go
| ... | ... | @@ -166,11 +166,16 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { |
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | + //2.2.5版本开启自动审核 | |
| 169 | 170 | checkcoin := 2 |
| 170 | - if drawnum <= 150 { | |
| 171 | - //1.5挡位以下不需要审核 | |
| 172 | - checkcoin = 2 //临时关闭u | |
| 171 | + if rdata.Ver == "2.2.5" { | |
| 172 | + logger.Info("HandlerGetcash autocheckcoin") | |
| 173 | + if drawnum <= 150 { | |
| 174 | + //1.5挡位以下不需要审核 | |
| 175 | + checkcoin = 1 //临时关闭u | |
| 176 | + } | |
| 173 | 177 | } |
| 178 | + | |
| 174 | 179 | gold, err := GetCashFromSDK(uuid, drawnum, rdata.Gameid, rdata.Channel, rdata.Openid, rdata.Nickname, rdata.Headurl, rdata.Ver, checkcoin) |
| 175 | 180 | if err != nil { |
| 176 | 181 | logger.Error("GetCashFromSDK failed err=%v", err) | ... | ... |