Files
gofly-platform-services/zlt-demo/sharding-jdbc-demo/src/main/resources/application.yml
T
2021-01-28 21:03:37 +08:00

23 lines
421 B
YAML

server:
port: 11001
spring:
profiles:
active: sharding-databases
application:
name: sharding-jdbc-demo
main:
allow-bean-definition-overriding: true
zlt:
datasource:
ip: 192.168.28.130
username: root
password: 1q2w3e4r
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.sharding.demo.model
global-config:
db-config:
id-type: ID_WORKER