|
@@ -116,11 +116,12 @@ class Mt4ManagerApi
|
|
|
'cmd' => 'deleteorders',
|
|
'cmd' => 'deleteorders',
|
|
|
'orders' => trim($orders),
|
|
'orders' => trim($orders),
|
|
|
);
|
|
);
|
|
|
|
|
+ $tt = print_r($params,true);
|
|
|
|
|
+ file_put_contents('revokeOrder.txt',$tt);
|
|
|
$config = Config::findOne(1); //获取到配置文件
|
|
$config = Config::findOne(1); //获取到配置文件
|
|
|
$mt4_pay_ip = $config['mt4_pay_ip']; //获取mt4出入金ip
|
|
$mt4_pay_ip = $config['mt4_pay_ip']; //获取mt4出入金ip
|
|
|
$mt4_pay_port = $config['mt4_pay_port']; //获取出入金端口
|
|
$mt4_pay_port = $config['mt4_pay_port']; //获取出入金端口
|
|
|
$this->url = "http://{$mt4_pay_ip}:{$mt4_pay_port}/api";
|
|
$this->url = "http://{$mt4_pay_ip}:{$mt4_pay_port}/api";
|
|
|
-
|
|
|
|
|
return $this->_httpRequest($this->url, $params);
|
|
return $this->_httpRequest($this->url, $params);
|
|
|
}
|
|
}
|
|
|
|
|
|