Commit c4e81f9d6531727627b3c75ce723916d3fc99cba
1 parent
bb36a964
Exists in
master
提交开启0.5自动审核
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/logic.go
| ... | ... | @@ -772,7 +772,11 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { |
| 772 | 772 | } |
| 773 | 773 | |
| 774 | 774 | checkcoin := 2 //不开启自动审核 |
| 775 | + | |
| 775 | 776 | drawnum := int(rdata.Money * 100) |
| 777 | + if drawnum <= 50 { | |
| 778 | + checkcoin = 1 | |
| 779 | + } | |
| 776 | 780 | gold, err := GetCashFromSDK(uuid, drawnum, uinfo.Gameid, uinfo.Channel, rdata.Openid, uinfo.NickName, uinfo.Head, rdata.Ver, checkcoin) |
| 777 | 781 | if err != nil { |
| 778 | 782 | logger.Error("HandlerGetcash GetCashFromSDK failed failed=%v", err) | ... | ... |