作者 karlet

feat:下单接口

1 { 1 {
2 "name": "jiaoyin/common", 2 "name": "jiaoyin/common",
3 "description": "indigo common php lib by jy", 3 "description": "indigo common php lib by jy",
4 - "require": {}, 4 + "require": {
  5 + "ext-json": "*"
  6 + },
5 "autoload": { 7 "autoload": {
6 "psr-4": { 8 "psr-4": {
7 "Jiaoyin\\": "./src/" 9 "Jiaoyin\\": "./src/"
@@ -182,6 +182,12 @@ class BinanceSpot @@ -182,6 +182,12 @@ class BinanceSpot
182 $method = 'PUT'; 182 $method = 'PUT';
183 return $this->requestListenKey($method, $path, $param); 183 return $this->requestListenKey($method, $path, $param);
184 } 184 }
  185 + public function order($param)
  186 + {
  187 + $path = '/api/v3/order/test';
  188 + $method = 'POST';
  189 + return $this->requestListenKey($method, $path, $param);
  190 + }
185 191
186 /* 192 /*
187 * ================================== 193 * ==================================