diff --git a/mobile/wxnotify.php b/mobile/wxnotify.php index a2f1dac..0bd90b2 100644 --- a/mobile/wxnotify.php +++ b/mobile/wxnotify.php @@ -34,14 +34,14 @@ $logFilePath = './wxlog.txt'; // 日志文件保存路径 $postData = file_get_contents('php://input'); // 解密postData -require_once(BASE_PATH . 'helpers/dalianpay/demo/dalianpay.php'); -require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php'); +// require_once(BASE_PATH . 'helpers/dalianpay/demo/dalianpay.php'); +// require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php'); -$new_plugin = new dalianpay(); -$response_data = $new_plugin->norify_decrypt($postData); +// $new_plugin = new dalianpay(); +// $response_data = $new_plugin->norify_decrypt($postData); // 添加时间戳和换行符 -$logMessage = date('Y-m-d H:i:s') . " - " . $response_data . "\n"; +$logMessage = date('Y-m-d H:i:s') . " - " . $postData . "\n"; // 将日志写入文件 file_put_contents($logFilePath, $logMessage, FILE_APPEND | LOCK_EX);