2019-01-19 15:31:26 +08:00
|
|
|
spring:
|
|
|
|
|
datasource:
|
2020-03-08 09:32:56 +08:00
|
|
|
url: jdbc:mysql://${zlt.datasource.ip}:3306/file_center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
2019-01-19 15:31:26 +08:00
|
|
|
username: ${zlt.datasource.username}
|
|
|
|
|
password: ${zlt.datasource.password}
|
2019-10-04 21:45:37 +08:00
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
2019-01-19 15:31:26 +08:00
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
mapper-locations: classpath:/mapper/*Mapper.xml
|
|
|
|
|
#实体扫描,多个package用逗号或者分号分隔
|
|
|
|
|
typeAliasesPackage: com.central.file.model
|
|
|
|
|
global-config:
|
|
|
|
|
db-config:
|
|
|
|
|
id-type: INPUT
|
2019-04-16 23:45:31 +08:00
|
|
|
|
2019-01-19 15:31:26 +08:00
|
|
|
zlt:
|
2019-04-16 23:45:31 +08:00
|
|
|
file-server:
|
2021-02-17 22:19:30 +08:00
|
|
|
type: s3
|
|
|
|
|
#fdfs:
|
|
|
|
|
# web-url: ${zlt.fdfs.web-url}
|
|
|
|
|
s3:
|
|
|
|
|
access-key: ${zlt.s3.access-key}
|
|
|
|
|
accessKeySecret: ${zlt.s3.accessKeySecret}
|
|
|
|
|
endpoint: ${zlt.s3.endpoint}
|
|
|
|
|
bucketName: ${zlt.s3.bucketName}
|
2019-01-19 15:31:26 +08:00
|
|
|
swagger:
|
|
|
|
|
enabled: true
|
|
|
|
|
title: 文件中心
|
|
|
|
|
description: 文件中心接口文档
|
|
|
|
|
version: 1.0
|
2019-04-16 23:45:31 +08:00
|
|
|
base-package: com.central.file.controller
|
2019-08-09 00:46:18 +08:00
|
|
|
#多租户配置
|
|
|
|
|
tenant:
|
|
|
|
|
enable: true
|
2019-04-16 23:45:31 +08:00
|
|
|
|
|
|
|
|
#fastDFS配置
|
2021-02-17 22:19:30 +08:00
|
|
|
#fdfs:
|
|
|
|
|
# soTimeout: 1500
|
|
|
|
|
# connectTimeout: 600
|
|
|
|
|
# trackerList: ${zlt.fdfs.trackerList}
|