文件上传文档描述更新

This commit is contained in:
lhd
2024-09-14 11:21:59 +08:00
parent f67db46980
commit 10d16c1b80

View File

@@ -215,6 +215,12 @@ public class FileUploadConfig {
VUE_APP_RESOURCES_URL = 'https://img.mall4j.com/'
### 更新于2023.03.27
-`shop.properties` 更新了本地上传的配置vue中的`resourcesUrl`也配置对应的本地路径
### 更新于2023.03.27 本地上传配置
-`shop.properties` 更新了本地上传的配置,修改`shop.imgUpload.uploadType=1`文件上传类型为1是使用本地上传vue中的`resourcesUrl`也配置对应的本地路径
- 全局搜索`/mall4j/img`,替换成你想要的图片路径,若按本代码默认的则前端的资源路径为`http://ip: + admin服务的端口号/mall4j/img/`
### 更新于2024.09.14 七牛云配置
-`shop.properties` 中,修改`shop.imgUpload.uploadType=2`文件上传类型为2是使用七牛云vue中的`resourcesUrl`配置对应的`shop.qiniu.resourcesUrl`
- 分别将`shop.qiniu.accessKey``shop.qiniu.secretKey``shop.qiniu.bucket``shop.qiniu.zone``shop.qiniu.resourcesUrl`
替换成你的七牛云配置,最后前端的资源路径为`shop.qiniu.resourcesUrl`