|
...
|
...
|
@@ -86,6 +86,13 @@ class Api |
|
|
|
$method = 'POST';
|
|
|
|
return $this->request($path, $method, $param, $this->apiInfo);
|
|
|
|
}
|
|
|
|
//查询订单
|
|
|
|
public function getOrder($param)
|
|
|
|
{
|
|
|
|
$path = '/api/v5/trade/order';
|
|
|
|
$method = 'GET';
|
|
|
|
return $this->request($path, $method, $param, $this->apiInfo);
|
|
|
|
}
|
|
|
|
//撤销订单
|
|
|
|
public function cancelOrder($param)
|
|
|
|
{
|
|
...
|
...
|
@@ -121,6 +128,7 @@ class Api |
|
|
|
$method = 'POST';
|
|
|
|
return $this->request($path, $method, $param, $this->apiInfo);
|
|
|
|
}
|
|
|
|
//获取账户配置
|
|
|
|
public function getAccountConfig($param = [])
|
|
|
|
{
|
|
|
|
$path = '/api/v5/account/config';
|
...
|
...
|
|