充值
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user