|
...
|
...
|
@@ -118,7 +118,27 @@ class BinanceSpot |
|
|
|
$method = 'POST';
|
|
|
|
return $this->requestAccount($method, $path, $param);
|
|
|
|
}
|
|
|
|
|
|
|
|
//查询子账户API Key IP白名单 (适用母账户)
|
|
|
|
public function ipRestrictionQuery($param)
|
|
|
|
{
|
|
|
|
$path = '/sapi/v1/sub-account/subAccountApi/ipRestriction';
|
|
|
|
$method = 'GET';
|
|
|
|
return $this->requestAccount($method, $path, $param);
|
|
|
|
}
|
|
|
|
//删除子账户API Key IP白名单 (适用母账户)
|
|
|
|
public function ipRestrictionDelete($param)
|
|
|
|
{
|
|
|
|
$path = '/sapi/v1/sub-account/subAccountApi/ipRestriction/ipList';
|
|
|
|
$method = 'DELETE';
|
|
|
|
return $this->requestAccount($method, $path, $param);
|
|
|
|
}
|
|
|
|
//为子账户API Key增加IP白名单 (适用母账户)
|
|
|
|
public function ipRestrictionAdd($param)
|
|
|
|
{
|
|
|
|
$path = '/sapi/v2/sub-account/subAccountApi/ipRestriction';
|
|
|
|
$method = 'POST';
|
|
|
|
return $this->requestAccount($method, $path, $param);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ==================================
|
...
|
...
|
|