Git Product home page Git Product logo

aliyun-oss-storage's People

Contributors

asundust avatar chuangbo avatar darkicerain avatar jacobcyl avatar jyj1993126 avatar kerry-6 avatar summergeorge avatar xsilen avatar zacharyjia avatar zhujunsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aliyun-oss-storage's Issues

内网地址使用问题

原repo中遗留的注释说内网节点有问题,请问有人使用过内网节点操作了吗?

使用自定义域名 'isCName' => true, 就报错

使用自定义域名 'isCName' => true, 就报错 ,使用 oss 分配的域名 可以正常运行, 但是 我用自定义的 域名 链接 去访问 图片 也可以进行访问, 自定义域名 不清楚是什么情况??

image

建议 AliOssAdapter.php 的 getUrl() 方法使用 has() 判断抛异常去除

在使用一些诸如 Laravel-Admin 框架的时候,当文件不存在时获取文件 url 时会抛出异常。这会导致这些框架直接页面报错无法正常显示。

我更希望的是两种方案来解决:
方案一:去掉 getUrl 在获取文件 URL 地址时去掉 has() 的调用。直接返回 url 的地址。
方案二:增加一个方法来改变这一默认检测文件是否存在的行为。

has() 方法的调用会导致频繁的网络开销。其次,与诸多框架也不能无缝结合。虽然,文件不存在是我的问题。但是,在项目迁移时,或系统程序异常时。会导致文件不存在。也或者一个页面有太多文件需要从云存储获取 url 时,会导致服务器端 tcp 连接并发很高。

在 2.0.x 系列就没有做此判断。

特别是线上数据库导致本人来调试代码的时候,我们通常不会把线上的资源也全部导下来。

麻烦作者处理一下。谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.