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');