作者 karlet

feat:公共request

... ... @@ -112,7 +112,7 @@ class BinanceSpot
* @param int $type (=1:行情等接口,不需要签名;=2:账户等接口需要签名)
* @return array|int|mixed
*/
public function request($path, $method, $param, int $type=1)
public function request(string $path, string $method, array $param, int $type=1)
{
if($type==2){
return self::requestAccount($method, $path, $param);
... ...