>[danger] #### 前言
**文件存储我们提供了四种存储方式**
* 本地服务器:文件存放在本地服务器上
* 七牛云对象存储 Kodo
* 阿里云对象存储 OSS
* 腾讯云对象存储 COS
**使用七牛云、阿里云、腾讯云时,需要将云存储的访问域名 添加到小程序后台的服务器域名里,否则会导致海报图片生成失败**
>[danger] #### 本地存储

>[danger] #### 阿里云对象存储 OSS
* 阿里云OSS:[https://www.aliyun.com/ss/?k=OSS](https://www.aliyun.com/ss/?k=OSS)
* 配置方法参考文章:[https://www.itqaq.com/index/art/178.html](https://www.itqaq.com/index/art/178.html)
>[danger] #### 腾讯云对象存储 COS
* 腾讯云COS:[https://cloud.tencent.com/product/cos](https://cloud.tencent.com/product/cos)
* 配置方法参考文章:[https://www.itqaq.com/index/art/179.html](https://www.itqaq.com/index/art/179.html)
>[success] #### 七牛云存储示例
* 七牛云官网:[https://www.qiniu.com](https://www.qiniu.com/)
* 配置方法参考文章:[https://www.itqaq.com/index/art/15.html](https://www.itqaq.com/index/art/15.html)
* 配置示例:

>[danger] #### 域名配置到小程序服务器域名(七牛云为例)
* 把七牛云的信息填写在后台的文件存储配置中

* 进入小程序后台 开发管理 - 开发设置 - 服务器域名,点击修改

* 将云存储的域名填写进去
