修改一些BUG

This commit is contained in:
技术老胡
2024-08-31 17:18:46 +08:00
parent 0f3fad95c8
commit 31354de6f5
8 changed files with 10 additions and 78 deletions

View File

@@ -4,15 +4,15 @@ class MpayClass
{
private $pid;
private $key;
private $host = env('WEB_HOST', 'http://localhost');
private $host = 'https://mpay.zhaidashi.cn/';
private $check_neworder_url;
private $submit_records_url;
function __construct($config)
{
$this->pid = $config['pid'];
$this->key = $config['key'];
$this->check_neworder_url = $this->host . '/order.php';
$this->submit_records_url = $this->host . '/payHeart';
$this->check_neworder_url = $this->host . 'order.php';
$this->submit_records_url = $this->host . 'payHeart';
}
// 查询新订单
public function orderHeart()