This commit is contained in:
2026-01-08 16:27:34 +08:00
parent ae30b71aed
commit f392b8c2ae
4 changed files with 28 additions and 64 deletions

View File

@@ -31,8 +31,8 @@ class AliPay
$this->appId = $configs['alipay_app_id'];
$this->rsaPrivateKey = $configs['alipay_private_key'];
$this->alipayPublicKey = $configs['alipay_public_key'];
// $this->notifyUrl = $configs['web_site']."/api/Payment/notify_ali";
$this->notifyUrl = "http://vespa.qxyushen.top/api/Payment/notify_ali";
$this->notifyUrl = $configs['web_site']."/api/Payment/notify_ali";
// $this->notifyUrl = "http://vespa.qxyushen.top/api/Payment/notify_ali";
$aliPayPath = EXTEND_PATH.'/AliPayV2/alipay-sdk/aopV2/';
require_once $aliPayPath . 'AopCertClient.php';

View File

@@ -41,8 +41,8 @@ class WxPay
$data ["out_trade_no"] = $d['order_sn'];
$data ["total_fee"] = $total_fee;
$data ["spbill_create_ip"] = $ip;
// $data ["notify_url"] = get_system_config_value("web_site")."/api/Payment/notify_wx";
$data ["notify_url"] = "http://vespa.qxyushen.top/api/Payment/notify_wx";
$data ["notify_url"] = get_system_config_value("web_site")."/api/Payment/notify_wx";
// $data ["notify_url"] = "http://vespa.qxyushen.top/api/Payment/notify_wx";
$data ["trade_type"] = "APP";
$s = $this->getSign($data);