|
|
@@ -118,7 +118,7 @@ class Mt4ManagerApi
|
|
|
);
|
|
|
$config = Config::findOne(1); //获取到配置文件
|
|
|
$mt4_pay_ip = $config['mt4_pay_ip']; //获取mt4出入金ip
|
|
|
- $mt4_pay_port = 10001; //获取出入金端口
|
|
|
+ $mt4_pay_port = $config['mt4_pay_port'] +1; //获取出入金端口
|
|
|
$this->url = "http://{$mt4_pay_ip}:{$mt4_pay_port}/api";
|
|
|
return $this->_httpRequest($this->url, $params);
|
|
|
}
|
|
|
@@ -131,7 +131,7 @@ class Mt4ManagerApi
|
|
|
);
|
|
|
$config = Config::findOne(1); //获取到配置文件
|
|
|
$mt4_pay_ip = $config['mt4_pay_ip']; //获取mt4出入金ip
|
|
|
- $mt4_pay_port = 10001; //获取出入金端口
|
|
|
+ $mt4_pay_port = $config['mt4_pay_port'] +1; //获取出入金端口
|
|
|
$this->url = "http://{$mt4_pay_ip}:{$mt4_pay_port}/api";
|
|
|
return $this->_httpRequest($this->url, $params);
|
|
|
}
|