多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 上传设置 ### **请看配置的位置:** ![](https://help.zjhejiang.com/lfs/ef3370b0bff50e4694a7c35c518e2a775fc0a52da4a582ab4fecd0f47ca454f9.dat) ### **上传设置的作用** 答:文件存储到三方存储空间,减轻本地服务器的内存,以便保持服务器性能。 ### **上传存储支持七牛云和阿里云OSS** #### **七牛云配置流程:** 1. 申请一个七牛帐号-[https://www.qiniu.com/](https://www.qiniu.com/) 2. 新建对象存储 ![](https://help.zjhejiang.com/lfs/4e9322b1957968b0c28950c1957294e6cb629e801cd1b1f211baee809c663460.dat) 选择公共空间 ![](https://help.zjhejiang.com/lfs/cbaf30c7fa377710887242dd51d60526022bcf182c42ef10b7215586300c97b6.dat) 3. 获取AK跟SK ![](https://help.zjhejiang.com/lfs/95da3b352f90ed21f8ae271d8ae2893fd6c197ed85df7bbc87a2c63fc1835d15.dat) ![](https://help.zjhejiang.com/lfs/5d22a9c8965345a518b525b3b411c04a04f7f76d5b3ec05ed03490a08c9d523f.dat) 4. 获取域名,点击对象存储,懂的人可以设置绑定域名 ![](https://help.zjhejiang.com/lfs/c536d31d72f2a2a3599581a3ad63eec1af756263f8936357e0df461bd1a0b08c.dat) 5. 将所有信息填写到商城后台:商城管理=》上传设置 ![](https://help.zjhejiang.com/lfs/9bd0a4b8a8c763a4b7368f71b8b34b80227c9db4cd63e8634a4627d92f8c4196.dat) #### **阿里云OSS配置流程:** 1. 登录阿里云OSS; 2. 创建Bucket,根据实际需要做选择,读写权限至少公共读; ![](https://help.zjhejiang.com/lfs/639522b00e7b819d24f64669a53f5b122c2c11cfb3321c7ed4e955589eb05691.dat) 若是第一次使用,没有阿里云AccessKeyId和阿里云AccessKeySecret 则先点击 ![](https://help.zjhejiang.com/lfs/a56a820ef565d700b17d14c77643cadd0c8f5064db3a9cfcce46b13ccc75af82.dat) 3. 获取到阿里oss访问域名 取EndPoint (若设置了自定义域名,则取你设置的域名) ![](https://help.zjhejiang.com/lfs/1150a6ad978aa3ae97e7efb053d0f22d69f773e3f2fb159b55ce8c0115a09703.dat) 4. 在商城后台设置 ![](https://help.zjhejiang.com/lfs/cc5f806b7bbfe0e104cc80f1e00d6cbc340b561e42bc30ad90f66601f9577379.dat) #### **腾讯云配置流程:** 1. 登录腾讯云选择对象存储; ![](https://help.zjhejiang.com/lfs/6897d2af6dd096300433fdc668aee5bcf6aa38d7ab18d792163c9b864cd7995b.dat) 2.创建存储,访问权限设置公共读写 ![](https://help.zjhejiang.com/lfs/1d9252cd735789a7cbe5dfb4d711a0846d895e445bd1ff7547af47bf83ffc1a3.dat) 3.点击获取空间名称跟访问域名 ![](https://help.zjhejiang.com/lfs/a5ae99338af1d3ad41a30b3adc84e3d1f04ed4dc6386cb25f51169d34957af09.dat) 填到对应的商城后台上传设置 ![](https://help.zjhejiang.com/lfs/a9e5b56d012328b386a6794158cdf6103146e690c84a52473e7788c95b8f7b7f.dat) 4.填写下面的密钥 ![](https://help.zjhejiang.com/lfs/b276e3ec68a1820ad96e98a7a715c181b59bf700e8016fcb373a07ffc9161a79.dat) 密钥获取方法 ![](https://help.zjhejiang.com/lfs/38edb1828fea1250863ba7210e9ac59dfbbe49e6e360ef6a6f8562e77df43c65.dat) ![](https://help.zjhejiang.com/lfs/b873cfef85b3f914a360fafaffb804c167e9a779a070765e26230054c885b757.dat) ![](https://help.zjhejiang.com/lfs/778467f843e34a103f3b647e00d15ff06b49ad598773eb70301ba655eaeeccb8.dat) 将密钥填写到商城后台对应的 ![](https://help.zjhejiang.com/lfs/e2b833d1ee6aedfd0c3e9f64926d7a589ed5688e735978c7408941e0b76ed8a2.dat) 上传功能说明 ![](https://help.zjhejiang.com/lfs/f4d705c6c3f43e684cc59e920665c550c3cf8db9d574948e9c374914fe9c213c.dat)