## 阿里云OSS配置
### **1.登录阿里云后,可在右上角头像上看到“AccessKey管理”,拿到key和secret**
![](https://img.kancloud.cn/08/9c/089c0f669e6157a7a36087aad8e16673_299x369.png)
### **2.进入OSS,创建空间**
![](https://img.kancloud.cn/76/af/76aff5cce780dacbe996f08049a18242_870x452.png)
### **3.在基础设置,配置跨域(此处设置是为了客户直接从手机传到OSS,省去服务器的流量)**
![](https://img.kancloud.cn/df/bb/dfbbe7988f40e0d0ead6b2e265fbcc29_645x258.png)
![](https://img.kancloud.cn/3b/32/3b3281ac1813c0591361ab6950c0616c_645x143.png)
![](https://img.kancloud.cn/3a/db/3adb499547d94752165f204940a887cd_326x51.png)
![](https://img.kancloud.cn/6c/b3/6cb34887c49b10675ae7904b0c998685_601x409.png)