From 0db185661d05facdaf40cc8117f2fd77ceec4df4 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 7 May 2019 18:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E6=88=B7=E5=85=85=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/plugins/wallet/Rechargenotify.php | 3 +++ application/plugins/wallet/service/PayService.php | 1 + 2 files changed, 4 insertions(+) diff --git a/application/plugins/wallet/Rechargenotify.php b/application/plugins/wallet/Rechargenotify.php index 43de9dc49..5011e3e78 100644 --- a/application/plugins/wallet/Rechargenotify.php +++ b/application/plugins/wallet/Rechargenotify.php @@ -31,6 +31,9 @@ class Rechargenotify */ public function notify($params = []) { + file_put_contents(ROOT.'qqqqqq.txt', json_encode(array_merge($_GET, $_POST))); + file_put_contents(ROOT.'pppppp.txt', json_encode($params)); + $ret = PayService::Notify($params); if($ret['code'] == 0) { diff --git a/application/plugins/wallet/service/PayService.php b/application/plugins/wallet/service/PayService.php index cf0b10945..a33987a21 100644 --- a/application/plugins/wallet/service/PayService.php +++ b/application/plugins/wallet/service/PayService.php @@ -259,6 +259,7 @@ class PayService // 支付数据校验 $pay_name = 'payment\\'.PAYMENT_TYPE; $ret = (new $pay_name($payment[0]['config']))->Respond(array_merge($_GET, $_POST)); + file_put_contents(ROOT.'tttttt.txt', json_encode($ret)); if(!isset($ret['code']) || $ret['code'] != 0) { return $ret; -- GitLab