From 66c5e3e78b0bcd4d0dc62cc139c61e14909b222d Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Tue, 12 Dec 2023 23:33:28 +0800 Subject: [PATCH] yh --- Application/Common/Common/extend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Common/Common/extend.php b/Application/Common/Common/extend.php index f3527d9..4709fb1 100644 --- a/Application/Common/Common/extend.php +++ b/Application/Common/Common/extend.php @@ -2020,7 +2020,7 @@ function get_payment_config($way=1, $game=0, $user_id=0, $pay_amount = 0, $isPla // $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 ($user_id == 12 && !$isPlatform) { + if ($pay_amount >= 500 && !$isPlatform) { return ['code' => 0, 'msg' => '', 'data' => ['id' => 3, 'channel' => 11, 'config' => '{}']]; }