七牛云设置
登录七牛云;[https://www-source.qiniu.com/](https://www-source.qiniu.com/)
新建存储空间,设定存储空间名称即Bucket,根据实际需要做选择存储区域,访问控制选择公开空间;
![20200520_150619_004.png](https://www.xcx-dl.com/ueditor/php/upload/image/20201216/1608104161207074.png "1589959181175149.png")
样式分隔符设置,勾上感叹号!;
![20200520_150619_005.png](https://www.xcx-dl.com/ueditor/php/upload/image/20201216/1608104161299121.png "1589959283173929.png")
新建图片样式(用于显示列表图片LOGO),命名为315x315,不使用水印,还需要设置640x640缩略图版本,用于商品海报图片生成,注意"x"为小写x;
![20200520_150619_006.png](https://www.xcx-dl.com/ueditor/php/upload/image/20201216/1608104162958296.png "1589959353498977.png")
右上角点击个人面板中的密钥管理,获取七牛云AccessKey和七牛云SecretKEY;
![20200520_150619_007.png](https://www.xcx-dl.com/ueditor/php/upload/image/20201216/1608104162448987.png "1589959420200038.png")
![](https://www.xcx-dl.com/ueditor/php/upload/image/20201216/1608104162171326.png)
![](https://www.xcx-dl.com/ueditor/php/upload/image/20201216/1608104162757928.png)
在后台配置七牛云,注意Domain前有http:// 前缀,注意不要有多余的空格。
![cba17aa90bbfef7c634531012d325579_1195x335.png](https://www.xcx-dl.com/ueditor/php/upload/image/20201216/1608104162455133.png "1589959634140008.png")
**七牛请注意存储区域(如华东),需和七牛后台保持一致,否则可能导致图片无法正常上传。**