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,7 +772,11 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { | ||
772 | } | 772 | } |
773 | 773 | ||
774 | checkcoin := 2 //不开启自动审核 | 774 | checkcoin := 2 //不开启自动审核 |
775 | + | ||
775 | drawnum := int(rdata.Money * 100) | 776 | drawnum := int(rdata.Money * 100) |
777 | + if drawnum <= 50 { | ||
778 | + checkcoin = 1 | ||
779 | + } | ||
776 | gold, err := GetCashFromSDK(uuid, drawnum, uinfo.Gameid, uinfo.Channel, rdata.Openid, uinfo.NickName, uinfo.Head, rdata.Ver, checkcoin) | 780 | gold, err := GetCashFromSDK(uuid, drawnum, uinfo.Gameid, uinfo.Channel, rdata.Openid, uinfo.NickName, uinfo.Head, rdata.Ver, checkcoin) |
777 | if err != nil { | 781 | if err != nil { |
778 | logger.Error("HandlerGetcash GetCashFromSDK failed failed=%v", err) | 782 | logger.Error("HandlerGetcash GetCashFromSDK failed failed=%v", err) |