|
|
datasources:
|
|
|
yoho_activity:
|
|
|
username: ${jdbc.mysql.cobar.username}
|
|
|
password: ${jdbc.mysql.cobar.password}
|
|
|
cobar: true
|
|
|
maxConnections: 80
|
|
|
minIdle: 20
|
|
|
maxIdle: 40
|
|
|
servers:
|
|
|
- ${jdbc.mysql.yohoactivity.master}
|
|
|
- ${jdbc.mysql.yohoactivity.slave}
|
|
|
username: ${jdbc.mysql.yohoactivity.username}
|
|
|
password: ${jdbc.mysql.yohoactivity.password}
|
|
|
|
|
|
yh_lottery:
|
|
|
username: ${jdbc.mysql.cobar.username}
|
|
|
password: ${jdbc.mysql.cobar.password}
|
|
|
cobar: true
|
|
|
maxConnections: 80
|
|
|
minIdle: 20
|
|
|
maxIdle: 40
|
|
|
servers:
|
|
|
- ${jdbc.mysql.yhlottery.master}
|
|
|
- ${jdbc.mysql.yhlottery.slave}
|
|
|
username: ${jdbc.mysql.yhlottery.username}
|
|
|
password: ${jdbc.mysql.yhlottery.password}
|
|
|
daos:
|
|
|
- com.yoho.lottery.dal.GiftMapper
|
|
|
- com.yoho.lottery.dal.LotteryMapper
|
...
|
...
|
|