mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-03-22 09:17:16 +08:00
文件上传文档描述更新
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user