From 781391ccd90aa26c141bb4740c820e29e7d1595a Mon Sep 17 00:00:00 2001 From: dutsc <1020018707@qq.com> Date: Wed, 30 Aug 2023 23:33:31 +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 f9c5f3b..d8a2391 100644 --- a/mobile/wxnotify.php +++ b/mobile/wxnotify.php @@ -34,14 +34,14 @@ $logFilePath = './wxlogde.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') . " - " . $postData . "\n"; +$logMessage = date('Y-m-d H:i:s') . " - " . $response_data . "\n"; // 将日志写入文件 file_put_contents($logFilePath, $logMessage, FILE_APPEND | LOCK_EX);