This commit is contained in:
2020-11-18 11:32:26 +08:00
parent 88103697d0
commit 66608806e5
+1 -1
View File
@@ -149,7 +149,7 @@ abstract class ClientAbstracts extends Component implements IClient
*/
public function upload(string $path, array $params = [])
{
return $this->request(self::OPTIONS, $path, $params);
return $this->request(self::POST, $path, $params);
}