From ec02dce8d93dc3e7ef4bad7622898adf897e59ee Mon Sep 17 00:00:00 2001 From: dutsc <1020018707@qq.com> Date: Wed, 30 Aug 2023 23:30:23 +0800 Subject: [PATCH] get front_url --- mobile/wxnotify.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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);