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.
35 lines
1.3 KiB
35 lines
1.3 KiB
2 years ago
|
#服务器端口
|
||
|
server:
|
||
|
port: 8215
|
||
|
|
||
|
#mybatis-plus配置
|
||
|
mybatis-plus:
|
||
|
mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml
|
||
|
#实体扫描,多个package用逗号或者分号分隔
|
||
|
typeAliasesPackage: com.hnac.hzims.**.entity
|
||
|
|
||
|
#swagger扫描路径配置
|
||
|
swagger:
|
||
|
base-packages:
|
||
|
- org.springbalde
|
||
|
- com.hnac
|
||
|
|
||
|
#数据源配置
|
||
|
spring:
|
||
|
#排除DruidDataSourceAutoConfigure
|
||
|
autoconfigure:
|
||
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
||
|
datasource:
|
||
|
dynamic:
|
||
|
#设置默认的数据源或者数据源组,默认值即为master
|
||
|
primary: master
|
||
|
datasource:
|
||
|
master:
|
||
|
url: jdbc:mysql://175.6.40.67:5816/dev_hzims_message?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||
|
username: root
|
||
|
password: 123
|
||
|
slave:
|
||
|
url: jdbc:mysql://175.6.40.67:5816/dev_hzims_message?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||
|
username: root
|
||
|
password: 123
|