Browse Source

test message

master
dutsc 3 years ago
parent
commit
f0023a8a91
  1. 5
      mobile/plugins/payment/wxnotify.php

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

Loading…
Cancel
Save