From d7d48e54a2a1dec986391c8d87e6e75a1581a1f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D?= <邮箱> Date: Tue, 8 Aug 2023 13:32:28 +0800 Subject: [PATCH] from config get org_num --- mobile/plugins/payment/wxpay.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index b81fb19..a58954f 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -225,9 +225,12 @@ class wxpay // 调用秘钥里的配置文件 echo "\r\n start...\r\n"; require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php'); + echo "\r\n start1...\r\n"; $Base = new Base(); + echo "\r\n start2...\r\n"; // 获取配置信息 $config = $Base->getConfig(); + echo "\r\n start3...\r\n"; // $this->parameters["mch_id"] = '100018380507D2C'; // 商户号 sc_test $this->parameters["mch_id"] = $config['org_num']; // 商户号 sc_test echo "\r\n success!!!!\r\n";