-
Notifications
You must be signed in to change notification settings - Fork 22
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
获取url的时候提示 This driver does not support retrieving URLs #7
Comments
我没有太看懂你的意图,你是想干嘛? |
你用的是 laravel 5.3 吧?目前我自己的项目用的是 5.2,所以没很好的支持 laravel 的 url 方法。你可以先使用 SignedDownloadUrl。 |
@apollopy 我用的是5.5。我是想上传后获取图片的地址。比如修改头像后,存到数据库。然后想拿到完整的地址,类似 我是 |
laravel 从 5.3 开始支持 Storage::url 的,我这边项目还是 5.2 呢……我自己项目里,因为类似头像地址这样的需求,我是存 CDN 的地址,而不是 OSS 的地址的,所以就没急着加这个…… |
后续会加…… |
@apollopy 好的 谢谢。那我自己处理一下。 |
上传成功后我使用
![qq 20181204162346](https://user-images.githubusercontent.com/5689279/49428556-588ae500-f7e1-11e8-9972-851a5f0195b1.png)
Storage::file('xxx')
调用的时候返回如下错误The text was updated successfully, but these errors were encountered: