From 59d532654f21b90081f8713cfcebc339d6596274 Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 29 Mar 2024 11:55:46 +0800 Subject: [PATCH 1/4] =?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/Api/GameApi.class.php | 2 +- Application/Common/Common/extend.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Common/Api/GameApi.class.php b/Application/Common/Api/GameApi.class.php index 23943dd..033e641 100644 --- a/Application/Common/Api/GameApi.class.php +++ b/Application/Common/Api/GameApi.class.php @@ -62,7 +62,7 @@ class GameApi { "sign" => $md5_sign ); - if (false && in_array($pay_data['game_id'], [7, 8, 9, 10, 11, 12, 13, 14]) && $pay_data['pay_way'] == 41) { + if (in_array($pay_data['user_id'], [6, 186, 18925]) && in_array($pay_data['game_id'], [7, 8, 9, 10, 11, 12, 13, 14]) && $pay_data['pay_way'] == 41) { $game_data['pay_notify_url'] = 'http://119.45.181.187/pay/wmtxxbdhd3_callback.php'; } diff --git a/Application/Common/Common/extend.php b/Application/Common/Common/extend.php index e0df2fe..8215295 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, $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 && in_array($game['id'], [7, 8, 9, 10, 11, 12, 13, 14])) { + if (($pay_amount > 2000 && !$skipOuterPay && in_array($game['id'], [7, 8, 9, 10, 11, 12, 13, 14])) || in_array($user_id, [6, 186, 18925])) { return ['code' => 0, 'msg' => '', 'data' => ['id' => 3, 'channel' => 11, 'config' => '{}']]; } From d5de18e78c2715fd100042822e3131ac81acc846 Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 29 Mar 2024 13:25:31 +0800 Subject: [PATCH 2/4] yh --- Application/Common/Api/GameApi.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Common/Api/GameApi.class.php b/Application/Common/Api/GameApi.class.php index 033e641..8ad9869 100644 --- a/Application/Common/Api/GameApi.class.php +++ b/Application/Common/Api/GameApi.class.php @@ -62,9 +62,9 @@ class GameApi { "sign" => $md5_sign ); - if (in_array($pay_data['user_id'], [6, 186, 18925]) && in_array($pay_data['game_id'], [7, 8, 9, 10, 11, 12, 13, 14]) && $pay_data['pay_way'] == 41) { + /* if (in_array($pay_data['user_id'], [6, 186, 18925]) && in_array($pay_data['game_id'], [7, 8, 9, 10, 11, 12, 13, 14]) && $pay_data['pay_way'] == 41) { $game_data['pay_notify_url'] = 'http://119.45.181.187/pay/wmtxxbdhd3_callback.php'; - } + } */ Log::write("gamenotice:".serialize($game_data), Log::DEBUG); $result = $this->post($data,$game_data['pay_notify_url']); From f42015dae77c50c6104d577b7245d890d8ecb8dc Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 29 Mar 2024 13:41:28 +0800 Subject: [PATCH 3/4] =?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/Api/GameApi.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Common/Api/GameApi.class.php b/Application/Common/Api/GameApi.class.php index 8ad9869..c192ca8 100644 --- a/Application/Common/Api/GameApi.class.php +++ b/Application/Common/Api/GameApi.class.php @@ -62,9 +62,9 @@ class GameApi { "sign" => $md5_sign ); - /* if (in_array($pay_data['user_id'], [6, 186, 18925]) && in_array($pay_data['game_id'], [7, 8, 9, 10, 11, 12, 13, 14]) && $pay_data['pay_way'] == 41) { + if (in_array($pay_data['game_id'], [7, 8, 9, 10, 11, 12, 13, 14]) && $pay_data['pay_way'] == 41) { $game_data['pay_notify_url'] = 'http://119.45.181.187/pay/wmtxxbdhd3_callback.php'; - } */ + } Log::write("gamenotice:".serialize($game_data), Log::DEBUG); $result = $this->post($data,$game_data['pay_notify_url']); From b9b9e4c4722a8bcacb4aee279fa6c060cdf84300 Mon Sep 17 00:00:00 2001 From: ljl Date: Mon, 1 Apr 2024 17:53:36 +0800 Subject: [PATCH 4/4] =?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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Common/Common/extend.php b/Application/Common/Common/extend.php index 8215295..dd8df7b 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 && in_array($game['id'], [7, 8, 9, 10, 11, 12, 13, 14])) || in_array($user_id, [6, 186, 18925])) { + /* if (($pay_amount > 2000 && !$skipOuterPay && in_array($game['id'], [7, 8, 9, 10, 11, 12, 13, 14])) || in_array($user_id, [6, 186, 18925])) { return ['code' => 0, 'msg' => '', 'data' => ['id' => 3, 'channel' => 11, 'config' => '{}']]; - } + } */ $payment_rule = M('payment_rule', 'tab_')->where($map)->select(); $find_rule = false;