From f4c181608411d60293c836621dc90b9120e3a451 Mon Sep 17 00:00:00 2001 From: JaneYork <janeyork1314@163.com> Date: 星期五, 22 七月 2022 15:27:00 +0800 Subject: [PATCH] 主动设置文件公共读,适配天翼云OSS 主动设置文件公共读,适配天翼云OSS。 天翼云,即便bucket设置公共读,文件默认也是private,除非手动设置,详见天翼云:https://console.xstore.ctyun.cn/doc/store/sdk/java/objectOperation/putObject.html 已测试: 所有兼容S3协议的OSS,已测试:阿里云、腾讯云、百度、京东、天翼、自建Minio、七牛 --- ruoyi-ui/README.md | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/README.md b/ruoyi-ui/README.md index 3b5daac..00c0ab8 100644 --- a/ruoyi-ui/README.md +++ b/ruoyi-ui/README.md @@ -1,30 +1,30 @@ -## 开发 +## 寮�鍙� ```bash -# 克隆项目 +# 鍏嬮殕椤圭洰 git clone https://gitee.com/y_project/RuoYi-Vue -# 进入项目目录 +# 杩涘叆椤圭洰鐩綍 cd ruoyi-ui -# 安装依赖 +# 瀹夎渚濊禆 npm install -# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 -npm install --registry=https://registry.npm.taobao.org +# 寤鸿涓嶈鐩存帴浣跨敤 cnpm 瀹夎渚濊禆锛屼細鏈夊悇绉嶈寮傜殑 bug銆傚彲浠ラ�氳繃濡備笅鎿嶄綔瑙e喅 npm 涓嬭浇閫熷害鎱㈢殑闂 +npm install --registry=https://registry.npmmirror.com -# 启动服务 +# 鍚姩鏈嶅姟 npm run dev ``` -浏览器访问 http://localhost:80 +娴忚鍣ㄨ闂� http://localhost:80 -## 发布 +## 鍙戝竷 ```bash -# 构建测试环境 +# 鏋勫缓娴嬭瘯鐜 npm run build:stage -# 构建生产环境 +# 鏋勫缓鐢熶骇鐜 npm run build:prod ``` \ No newline at end of file -- Gitblit v1.9.3