feat[文件上传和订单模块功能]:已测试通过

This commit is contained in:
2025-01-13 10:54:30 +08:00
parent 40cd308749
commit d5410d0ed6
53 changed files with 2309 additions and 131 deletions
@@ -1,6 +1,6 @@
spring:
datasource:
url: jdbc:mysql://${zlt.datasource.ip}:3306/file_center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
url: jdbc:mysql://${zlt.datasource.ip}/file_center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
username: ${zlt.datasource.username}
password: ${zlt.datasource.password}
driver-class-name: com.mysql.cj.jdbc.Driver
@@ -26,7 +26,7 @@ knife4j:
zlt:
file-server:
type: s3
type: cos
#fdfs:
# web-url: ${zlt.fdfs.web-url}
s3:
@@ -34,6 +34,12 @@ zlt:
accessKeySecret: ${zlt.s3.accessKeySecret}
endpoint: ${zlt.s3.endpoint}
bucketName: ${zlt.s3.bucketName}
cos:
secretId: ${zlt.cos.secretId}
secretKey: ${zlt.cos.secretKey}
endpoint: ${zlt.cos.endpoint}
region: ${zlt.cos.region}
bucketName: ${zlt.cos.bucketName}
#多租户配置
tenant:
enable: true
@@ -42,4 +48,4 @@ zlt:
#fdfs:
# soTimeout: 1500
# connectTimeout: 600
# trackerList: ${zlt.fdfs.trackerList}
# trackerList: ${zlt.fdfs.trackerList}