From f0023a8a91ea5f32fe5d201f2ffbffbe95b1e2de Mon Sep 17 00:00:00 2001 From: dutsc <1020018707@qq.com> Date: Thu, 14 Sep 2023 15:30:03 +0800 Subject: [PATCH] test message --- mobile/plugins/payment/wxnotify.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mobile/plugins/payment/wxnotify.php b/mobile/plugins/payment/wxnotify.php index 335a575..700a50b 100644 --- a/mobile/plugins/payment/wxnotify.php +++ b/mobile/plugins/payment/wxnotify.php @@ -28,6 +28,7 @@ // // ... // } session_start(); +$logFilePath = './wxlogde_decrypt.txt'; // 日志文件保存路径 $openid = $_SESSION['openid']; $template_id = '5JCt5gNGM7sfwWnRqwWsjH138DixCFJ7sPEbToYQAmQ'; $access_token = $_SESSION['access_token']; @@ -71,10 +72,8 @@ if ($response === false) { } } -$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); +file_put_contents($logFilePath, "message:\n\r", FILE_APPEND | LOCK_EX); // 获取异步回调的数据 $postData = file_get_contents('php://input');