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