From 5eeba4b1ef2796c01206c8e78759204f47d6e8c2 Mon Sep 17 00:00:00 2001 From: dutsc <1020018707@qq.com> Date: Sat, 2 Sep 2023 22:03:56 +0800 Subject: [PATCH] debug wxnotify --- mobile/wxnotify.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile/wxnotify.php b/mobile/wxnotify.php index 5dd77a6..8dd4ecf 100644 --- a/mobile/wxnotify.php +++ b/mobile/wxnotify.php @@ -29,6 +29,7 @@ // } $logFilePath = './wxlogde_decrypt.txt'; // 日志文件保存路径 +file_put_contents($logFilePath, "new begin:\n\r", FILE_APPEND | LOCK_EX); file_put_contents($logFilePath, "here\n\r", FILE_APPEND | LOCK_EX); @@ -38,9 +39,11 @@ $postData = file_get_contents('php://input'); file_put_contents($logFilePath, "here1\n\r", FILE_APPEND | LOCK_EX); session_start(); file_put_contents($logFilePath, "here2\n\r", FILE_APPEND | LOCK_EX); +file_put_contents($logFilePath, "here3\n\r", FILE_APPEND | LOCK_EX); + require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php'); $Base = new Base(); -file_put_contents($logFilePath, "here3\n\r", FILE_APPEND | LOCK_EX); +file_put_contents($logFilePath, "here4\n\r", FILE_APPEND | LOCK_EX); // 解析返回的报文 $response = json_decode($postData, true);