Authored by DengXinFei

切换数据库

... ... @@ -8,10 +8,10 @@ datasources:
yohobuy_logs:
servers:
- ${jdbc.mysql.yohologs.master}
- ${jdbc.mysql.yohologs.master}
username: ${jdbc.mysql.yohologs.username}
password: ${jdbc.mysql.yohologs.password}
- ${jdbc.mysql.yh_logs.master}
- ${jdbc.mysql.yh_logs.master}
username: ${jdbc.mysql.yh_logs.username}
password: ${jdbc.mysql.yh_logs.password}
daos:
- com.yoho.unions.dal.IUnionLogsDAO
- com.yoho.unions.dal.IUnionClickLogsDAO
... ... @@ -33,10 +33,10 @@ datasources:
yh_unions:
servers:
- ${jdbc.mysql.unions.master}
- ${jdbc.mysql.unions.slave}
username: ${jdbc.mysql.unions.username}
password: ${jdbc.mysql.unions.password}
- ${jdbc.mysql.yh_union.master}
- ${jdbc.mysql.yh_union.slave}
username: ${jdbc.mysql.yh_union.username}
password: ${jdbc.mysql.yh_union.password}
daos:
- com.yoho.unions.dal.IUserOrdersDAO
- com.yoho.unions.dal.IUnionTypeDAO
... ...