-
Notifications
You must be signed in to change notification settings - Fork 161
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为何要判断是否存在? #55
Comments
只是输出个图片的链接,还发个请求判断是否存在,完全是没有必要的啊。不存在就访问不了罢了。抛异常更是有点多余了。 |
我也这样觉得,我再同一个网段,判断时间都要好几秒 |
这个方法存在问题,作者好像也没维护了 |
文件不存在抛出异常,项目不能正常进行。有点难受啊 |
文件不存在抛出异常,项目不能正常进行 这个解决了吗 |
@xiezhijuan @191834552 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在Laravel中使用\Storage::url(),为何要判断文件是否存在?在输出大量图片URL的循环中,严重拖慢了速度!!!而且这里,抛异常也写错了变量名啊。
The text was updated successfully, but these errors were encountered: