From 91fccb7431d771f4144f420c4beafdf3cea5c429 Mon Sep 17 00:00:00 2001 From: ljl Date: Wed, 17 Jan 2024 12:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Common/Common/extend.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Common/Common/extend.php b/Application/Common/Common/extend.php index 4058ac9..484a68b 100644 --- a/Application/Common/Common/extend.php +++ b/Application/Common/Common/extend.php @@ -2020,9 +2020,9 @@ function get_payment_config($way=1, $game=0, $user_id=0, $pay_amount = 0, $skipO // $monthEnd = date('Y-m-d', strtotime(date('Y-m-01') . '+1 month -1 day')); // $payAmountRow = M('spend','tab_')->field('SUM(pay_amount) as sum_amount')->where(array('pay_way'=>41, 'pay_real_status'=>1, 'payed_time' => ['gt', $monthBegin], 'payed_time' => ['lt', $monthEnd]))->find(); // $payAmount = intval($payAmountRow['sum_amount']); - // if ($pay_amount > 2000 && !$skipOuterPay) { - // return ['code' => 0, 'msg' => '', 'data' => ['id' => 3, 'channel' => 11, 'config' => '{}']]; - // } + if (in_array($game['id'], [17, 18]) && !$skipOuterPay) { + return ['code' => 0, 'msg' => '', 'data' => ['id' => 3, 'channel' => 11, 'config' => '{}']]; + } $payment_rule = M('payment_rule', 'tab_')->where($map)->select(); $find_rule = false;