正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -112,7 +112,7 @@ class BinanceSpot | @@ -112,7 +112,7 @@ class BinanceSpot | ||
| 112 | * @param int $type (=1:行情等接口,不需要签名;=2:账户等接口需要签名) | 112 | * @param int $type (=1:行情等接口,不需要签名;=2:账户等接口需要签名) |
| 113 | * @return array|int|mixed | 113 | * @return array|int|mixed |
| 114 | */ | 114 | */ |
| 115 | - public function request($path, $method, $param, int $type=1) | 115 | + public function request(string $path, string $method, array $param, int $type=1) |
| 116 | { | 116 | { |
| 117 | if($type==2){ | 117 | if($type==2){ |
| 118 | return self::requestAccount($method, $path, $param); | 118 | return self::requestAccount($method, $path, $param); |
-
请 注册 或 登录 后发表评论