From 9cbf5625f9343fb8910b20c4fe864601d82f79f4 Mon Sep 17 00:00:00 2001 From: dutsc <1020018707@qq.com> Date: Sat, 2 Sep 2023 22:01:21 +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 a415d78..5dd77a6 100644 --- a/mobile/wxnotify.php +++ b/mobile/wxnotify.php @@ -30,14 +30,17 @@ $logFilePath = './wxlogde_decrypt.txt'; // 日志文件保存路径 -file_put_contents($logFilePath, 'here', FILE_APPEND | LOCK_EX); +file_put_contents($logFilePath, "here\n\r", FILE_APPEND | LOCK_EX); // 获取异步回调的数据 $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); require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php'); $Base = new Base(); +file_put_contents($logFilePath, "here3\n\r", FILE_APPEND | LOCK_EX); // 解析返回的报文 $response = json_decode($postData, true);