Files
gofly-platform-services/zlt-business/file-center/src/main/resources/application.yml
T

39 lines
1.1 KiB
YAML
Raw Normal View History

2019-01-19 15:31:26 +08:00
spring:
datasource:
url: jdbc:mysql://${zlt.datasource.ip}:3306/file_center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull
username: ${zlt.datasource.username}
password: ${zlt.datasource.password}
driver-class-name: com.mysql.jdbc.Driver
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: com.central.file.model
global-config:
db-config:
id-type: INPUT
2019-01-19 15:31:26 +08:00
zlt:
file-server:
type: fastdfs
fdfs:
web-url: ${zlt.fdfs.web-url}
#oss配置
#oss:
# access-key: tpi8mObnfzZi4ggBX8Bw7zydjoTQ0WeML3RkPKsX
# accessKeySecret: HZBXmSyUTy-haYp0KbBTtsil-GoKjVS2kDKT8Yow
2019-04-16 23:48:13 +08:00
# endpoint: http://pkqtmn0p1.bkt.clouddn.com
# bucketName: public-oss
# domain:
2019-01-19 15:31:26 +08:00
swagger:
enabled: true
title: 文件中心
description: 文件中心接口文档
version: 1.0
base-package: com.central.file.controller
#fastDFS配置
fdfs:
soTimeout: 1500
connectTimeout: 600
trackerList: ${zlt.fdfs.trackerList}