From 9448eb2ffbd7c9ac78c6841e5a91471b6271ee18 Mon Sep 17 00:00:00 2001 From: dutsc <1020018707@qq.com> Date: Sat, 2 Sep 2023 23:00:12 +0800 Subject: [PATCH] modify notify address --- mobile/source/helpers/dalianpay/demo/wxnotify.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile/source/helpers/dalianpay/demo/wxnotify.php b/mobile/source/helpers/dalianpay/demo/wxnotify.php index 0faac7c..edb1c7b 100644 --- a/mobile/source/helpers/dalianpay/demo/wxnotify.php +++ b/mobile/source/helpers/dalianpay/demo/wxnotify.php @@ -38,6 +38,8 @@ $postData = file_get_contents('php://input'); file_put_contents($logFilePath, "here1\n\r", FILE_APPEND | LOCK_EX); +// BASE_PATH有问题 在这里无法取到BASE_PATH的值 +// 一种解决方案:直接将服务器上的路径写到这里 require_once("/data/www/wwwroot/dcs1.3/mobile/source/". 'helpers/dalianpay/demo/dalianpay.php'); file_put_contents($logFilePath, "here2\n\r", FILE_APPEND | LOCK_EX); $new_plugin = new dalianpay();