|
|
|
|
@ -355,10 +355,10 @@ func PlayerWithdraw(c *gin.Context) { |
|
|
|
|
|
|
|
|
|
var shouldAuto = false |
|
|
|
|
// 在总赠送比配置比例小时才判断个人
|
|
|
|
|
// if call.GetTotalRechargePer(realAmount) < config.GetConfig().Web.TotalWithdrawPer {
|
|
|
|
|
// // 直接发起退出
|
|
|
|
|
// shouldAuto = call.CanAutoWithdraw(uid, re.TotalRecharge, re.TotalWithdraw+re.TotalWithdrawing+realAmount)
|
|
|
|
|
// }
|
|
|
|
|
if call.GetTotalRechargePer(realAmount) < config.GetConfig().Web.TotalWithdrawPer { |
|
|
|
|
// 直接发起退出
|
|
|
|
|
shouldAuto = call.CanAutoWithdraw(uid, re.TotalRecharge, re.TotalWithdraw+re.TotalWithdrawing+realAmount) |
|
|
|
|
} |
|
|
|
|
// 第二步,创建订单
|
|
|
|
|
withdrawChannel := -1 |
|
|
|
|
if req.ChannelID != nil { |
|
|
|
|
|