update: mgate

This commit is contained in:
tokumeikoi 2022-02-16 22:42:19 +08:00
parent 57a746d52b
commit c8c96365ea

View File

@ -43,7 +43,7 @@ class MGate {
public function pay($order) public function pay($order)
{ {
if ($this->config['notify_domain']) { if (isset($this->config['notify_domain'])) {
$parseUrl = parse_url($order['notify_url']); $parseUrl = parse_url($order['notify_url']);
$notifyUrl = "{$parseUrl['scheme']}://{$this->config['notify_domain']}{$parseUrl['path']}"; $notifyUrl = "{$parseUrl['scheme']}://{$this->config['notify_domain']}{$parseUrl['path']}";
} }