diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 449f87d..b81fb19 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -223,6 +223,7 @@ class wxpay $this->parameters["appid"] = $payinfo['appId']; // 公众账号ID // 调用秘钥里的配置文件 + echo "\r\n start...\r\n"; require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php'); $Base = new Base(); // 获取配置信息 @@ -230,7 +231,7 @@ class wxpay // $this->parameters["mch_id"] = '100018380507D2C'; // 商户号 sc_test $this->parameters["mch_id"] = $config['org_num']; // 商户号 sc_test echo "\r\n success!!!!\r\n"; - + // $this->parameters["spbill_create_ip"] = $_SERVER['REMOTE_ADDR']; // 终端ip $this->parameters["nonce_str"] = $payinfo['nonceStr']; // 随机字符串 $this->parameters["sign"] = $payinfo['paySign']; // 签名