Browse Source

debug wxnotify

master
dutsc 3 years ago
parent
commit
5eeba4b1ef
  1. 5
      mobile/wxnotify.php

5
mobile/wxnotify.php

@ -29,6 +29,7 @@
// }
$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);
@ -38,9 +39,11 @@ $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);
file_put_contents($logFilePath, "here3\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);
file_put_contents($logFilePath, "here4\n\r", FILE_APPEND | LOCK_EX);
// 解析返回的报文
$response = json_decode($postData, true);

Loading…
Cancel
Save