上传完返回的
{ ["hash"]=> string(28) "FtjcaBrVAucCvAHy4HutGTsvXWAy" ["key"]=> string(52) "/static/attach/2809eec8a85ef182/7694c67f3bad6033.jpg" }
我在七牛的内容管理看到的链接
http://****.qiniudn.com/@/static/attach/2809eec8a85ef182/7694c67f3bad6033.jpg
怎么有个 @/
为什么有的图片又没有 @/
另外 上传过程中 如果文件已经存在了,七牛是 覆盖还是 退出了?
外链中有的有
"@/"
有的没有,是因为你的key有的以"/"
开头有的没有。参考:http://kb.qiniu.com/52slk76w
使用已存在的key上传不同内容的文件,其结果视你是否使用了覆盖式的上传而定。
参考:http://developer.qiniu.com/docs/v6/api/reference/security/put-policy.html#put-policy-scope