Commit f1754f79 authored by liuyuzhen's avatar liuyuzhen

支付链接问题

parent 8f9c63cd
...@@ -10,7 +10,7 @@ class QPay extends \Payment\TencentPay{ ...@@ -10,7 +10,7 @@ class QPay extends \Payment\TencentPay{
public function __construct() { public function __construct() {
$this->appid = \Our\PayConst::qPayAppId; $this->appid = \Our\PayConst::qPayAppId;
$this->notify_url = \Our\NameConst::httpPrefix.$_SERVER['SERVER_NAME'].\Our\PayConst::qPayNotifyUrl; $this->notify_url = \Our\Common::getBaseUrl().\Our\PayConst::qPayNotifyUrl;
$this->mch_id = \Our\PayConst::qPayMchId; $this->mch_id = \Our\PayConst::qPayMchId;
$this->key = \Our\PayConst::qPayKey; $this->key = \Our\PayConst::qPayKey;
$this->sslcert_path = \Our\PayConst::qqSslcertPath; $this->sslcert_path = \Our\PayConst::qqSslcertPath;
......
...@@ -12,7 +12,7 @@ class WxLitePay extends \Payment\TencentPay{ ...@@ -12,7 +12,7 @@ class WxLitePay extends \Payment\TencentPay{
public function __construct() public function __construct()
{ {
$this->appid = \Our\PayConst::wxLiteAppId; $this->appid = \Our\PayConst::wxLiteAppId;
$this->notify_url = \Our\NameConst::httpPrefix.$_SERVER['SERVER_NAME'].\Our\PayConst::wxLiteNotifyUrl; $this->notify_url = \Our\Common::getBaseUrl().\Our\PayConst::wxLiteNotifyUrl;
$this->mch_id = \Our\PayConst::wxPayMchId; $this->mch_id = \Our\PayConst::wxPayMchId;
$this->key = \Our\PayConst::wxSPayKey; $this->key = \Our\PayConst::wxSPayKey;
$this->sslcert_path = \Our\PayConst::wxSslcertPath; $this->sslcert_path = \Our\PayConst::wxSslcertPath;
......
...@@ -15,7 +15,7 @@ class WxPay extends \Payment\TencentPay ...@@ -15,7 +15,7 @@ class WxPay extends \Payment\TencentPay
public function __construct() public function __construct()
{ {
$this->appid = \Our\PayConst::wxPayAppId; $this->appid = \Our\PayConst::wxPayAppId;
$this->notify_url = \Our\NameConst::httpPrefix . $_SERVER['SERVER_NAME'] . \Our\PayConst::wxAppNotifyUrl; $this->notify_url = \Our\Common::getBaseUrl(). \Our\PayConst::wxAppNotifyUrl;
$this->mch_id = \Our\PayConst::wxPayMchId; $this->mch_id = \Our\PayConst::wxPayMchId;
$this->key = \Our\PayConst::wxPayKey; $this->key = \Our\PayConst::wxPayKey;
$this->sslcert_path = \Our\PayConst::wxSslcertPath; $this->sslcert_path = \Our\PayConst::wxSslcertPath;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment