Showing
1 changed file
with
15 additions
and
17 deletions
1 | datasources: | 1 | datasources: |
2 | yoho_passport: | 2 | yoho_passport: |
3 | - username: ${jdbc.mysql.cobar.username} | ||
4 | - password: ${jdbc.mysql.cobar.password} | ||
5 | - cobar: true | ||
6 | - maxConnections: 80 | ||
7 | - minIdle: 20 | ||
8 | - maxIdle: 40 | 3 | + servers: |
4 | + - ${jdbc.mysql.yohopassport.master} | ||
5 | + - ${jdbc.mysql.yohopassport.slave} | ||
6 | + username: ${jdbc.mysql.yohopassport.username} | ||
7 | + password: ${jdbc.mysql.yohopassport.password} | ||
9 | 8 | ||
10 | yohobuy_logs: | 9 | yohobuy_logs: |
11 | servers: | 10 | servers: |
@@ -33,12 +32,11 @@ datasources: | @@ -33,12 +32,11 @@ datasources: | ||
33 | - com.yoho.unions.dal.BaseUserActiveDayMapper | 32 | - com.yoho.unions.dal.BaseUserActiveDayMapper |
34 | 33 | ||
35 | yh_unions: | 34 | yh_unions: |
36 | - username: ${jdbc.mysql.cobar.username} | ||
37 | - password: ${jdbc.mysql.cobar.password} | ||
38 | - cobar: true | ||
39 | - maxConnections: 80 | ||
40 | - minIdle: 20 | ||
41 | - maxIdle: 40 | 35 | + servers: |
36 | + - ${jdbc.mysql.yh_union.master} | ||
37 | + - ${jdbc.mysql.yh_union.slave} | ||
38 | + username: ${jdbc.mysql.yh_union.username} | ||
39 | + password: ${jdbc.mysql.yh_union.password} | ||
42 | daos: | 40 | daos: |
43 | - com.yoho.unions.dal.IUserOrdersDAO | 41 | - com.yoho.unions.dal.IUserOrdersDAO |
44 | - com.yoho.unions.dal.IUnionTypeDAO | 42 | - com.yoho.unions.dal.IUnionTypeDAO |
@@ -114,12 +112,12 @@ datasources: | @@ -114,12 +112,12 @@ datasources: | ||
114 | - com.yoho.unions.dal.OrdersGiftCardMapper | 112 | - com.yoho.unions.dal.OrdersGiftCardMapper |
115 | 113 | ||
116 | yh_guang: | 114 | yh_guang: |
117 | - username: ${jdbc.mysql.cobar.username} | ||
118 | - password: ${jdbc.mysql.cobar.password} | ||
119 | - cobar: true | 115 | + servers: |
116 | + - ${jdbc.mysql.yhguang.master} | ||
117 | + - ${jdbc.mysql.yhguang.slave} | ||
118 | + username: ${jdbc.mysql.yhguang.username} | ||
119 | + password: ${jdbc.mysql.yhguang.password} | ||
120 | maxConnections: 80 | 120 | maxConnections: 80 |
121 | - minIdle: 20 | ||
122 | - maxIdle: 40 | ||
123 | daos: | 121 | daos: |
124 | - com.yoho.unions.dal.IArticleDAO | 122 | - com.yoho.unions.dal.IArticleDAO |
125 | - com.yoho.unions.dal.IArticleBlockDao | 123 | - com.yoho.unions.dal.IArticleBlockDao |
-
Please register or login to post a comment