From c4e81f9d6531727627b3c75ce723916d3fc99cba Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Sat, 11 Jul 2020 15:36:02 +0800 Subject: [PATCH] 提交开启0.5自动审核 --- src/HttpServer/logic/logic.go | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index ac19c4b..2893411 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -772,7 +772,11 @@ func HandlerGetcash(w http.ResponseWriter, data string, uuid int) { } checkcoin := 2 //不开启自动审核 + drawnum := int(rdata.Money * 100) + if drawnum <= 50 { + checkcoin = 1 + } gold, err := GetCashFromSDK(uuid, drawnum, uinfo.Gameid, uinfo.Channel, rdata.Openid, uinfo.NickName, uinfo.Head, rdata.Ver, checkcoin) if err != nil { logger.Error("HandlerGetcash GetCashFromSDK failed failed=%v", err) -- libgit2 0.21.0