22 lines
429 B
YAML
22 lines
429 B
YAML
server:
|
|
port: 11001
|
|
|
|
spring:
|
|
profiles:
|
|
active: sharding-databases
|
|
application:
|
|
name: sharding-jdbc-demo
|
|
|
|
zlt:
|
|
datasource:
|
|
ip: 192.168.28.131
|
|
username: root
|
|
password: 1q2w3e4r
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath:/mapper/*Mapper.xml
|
|
#实体扫描,多个package用逗号或者分号分隔
|
|
typeAliasesPackage: com.sharding.demo.model
|
|
global-config:
|
|
db-config:
|
|
id-type: ID_WORKER |