You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
47 lines
1.7 KiB
10 months ago
|
#服务器端口
|
||
|
server:
|
||
|
port: 8400
|
||
|
|
||
|
#oss配置
|
||
|
oss:
|
||
|
endpoint: "${hzinfo.oss.endpoint}"
|
||
|
access-key: "${hzinfo.oss.access-key}"
|
||
|
secret-key: "${hzinfo.oss.secret-key}"
|
||
|
|
||
|
#数据源配置
|
||
|
spring:
|
||
|
#排除DruidDataSourceAutoConfigure
|
||
|
autoconfigure:
|
||
|
exclude: com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
||
|
datasource:
|
||
|
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/prod_hzims_middle?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||
|
username: ${hzinfo.db.busines.username}
|
||
|
password: ${hzinfo.db.busines.password}
|
||
|
#
|
||
|
# datasource:
|
||
|
# url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
|
||
|
# username: "${hzinfo.db.busines.username}"
|
||
|
# password: "${hzinfo.db.busines.password}"
|
||
|
|
||
|
|
||
|
#mybatis-plus配置
|
||
|
mybatis-plus:
|
||
|
mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml
|
||
|
#实体扫描,多个package用逗号或者分号分隔
|
||
|
typeAliasesPackage: com.hnac.hzims.**.entity
|
||
|
configuration:
|
||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
|
|
||
|
#swagger扫描路径配置
|
||
|
swagger:
|
||
|
base-packages: com.hnac.hzims.middle,org.springbalde
|
||
|
|
||
|
blade:
|
||
|
data-scope:
|
||
|
enabled: false
|
||
|
lock:
|
||
|
enabled: true
|
||
|
address: redis://192.168.60.34:3577
|
||
|
password: L_MM&h=+Nm&p)U9sk.uH
|
||
|
database: 2
|
||
|
ssl: false
|