Authored by mali

cobar

datasources:
ufo_passport:
servers:
- ${jdbc.mysql.ufo.master}
- ${jdbc.mysql.ufo.slave}
username: ${jdbc.mysql.ufo.username}
password: ${jdbc.mysql.ufo.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yohoufo.dal.user.IUserAuthorizeHistoryDao
- com.yohoufo.dal.user.IUserAuthorizeInfoDao
... ... @@ -12,11 +13,12 @@ datasources:
- com.yohoufo.dal.user.UsersNoticeMapper
ufo_product:
servers:
- ${jdbc.mysql.ufo.master}
- ${jdbc.mysql.ufo.slave}
username: ${jdbc.mysql.ufo.username}
password: ${jdbc.mysql.ufo.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yohoufo.dal.product.StoragePriceMapper
- com.yohoufo.dal.product.StorageMapper
... ... @@ -53,11 +55,12 @@ datasources:
- com.yohoufo.dal.product.BidStoragePriceMapper
ufo_order:
servers:
- ${jdbc.mysql.ufo.master}
- ${jdbc.mysql.ufo.slave}
username: ${jdbc.mysql.ufo.username}
password: ${jdbc.mysql.ufo.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yohoufo.dal.order.BuyerOrderGoodsMapper
- com.yohoufo.dal.order.BuyerOrderMapper
... ... @@ -125,11 +128,12 @@ datasources:
- com.yohoufo.dal.order.BuyerChangePriceRecordMapper
ufo_promotion:
servers:
- ${jdbc.mysql.ufo.master}
- ${jdbc.mysql.ufo.master}
username: ${jdbc.mysql.ufo.username}
password: ${jdbc.mysql.ufo.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yohoufo.dal.promotion.CouponMapper
- com.yohoufo.dal.promotion.CouponProductLimitMapper
... ... @@ -141,11 +145,12 @@ datasources:
ufo_resource:
servers:
- ${jdbc.mysql.ufo.master}
- ${jdbc.mysql.ufo.slave}
username: ${jdbc.mysql.ufo.username}
password: ${jdbc.mysql.ufo.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yohoufo.dal.resource.ResourcesContentDataMapper
- com.yohoufo.dal.resource.ResourcesContentMapper
... ...