Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put无法上传 #78

Open
born1994 opened this issue Dec 16, 2020 · 2 comments
Open

put无法上传 #78

born1994 opened this issue Dec 16, 2020 · 2 comments

Comments

@born1994
Copy link

php 7.4.9 laravel8

$file = $this->file();

$name = 'Addon/Quiz/'.strtoupper($file->getClientOriginalExtension()).date('YmdHis',time()).'/logo.'.$file->getClientOriginalExtension();

$result = $disk->put($name, $file);
result一直是false

@zgldh
Copy link
Owner

zgldh commented Dec 16, 2020

试试 v0.10.3

@born1994
Copy link
Author

删除报错,
message: Argument 1 passed to zgldh\QiniuStorage\QiniuAdapter::logQiniuError() must be an instance of Qiniu\Http\Error, array given, called in E:\Composer\dcat\vendor\zgldh\qiniu-laravel-storage\src\QiniuAdapter.php on line 341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants