databases.yml 1.56 KB
datasources:
   ufo_product:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      maxTotal: 100
      daos:
        - com.yohobuy.platform.dal.product.IProductSortMapper

   ufo_order:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      maxTotal: 100
      daos:
        - com.yoho.order.dal.BuyerOrderMapper
        - com.yoho.order.dal.SellerOrderMapper
        - com.yoho.order.dal.SellerOrderGoodsMapper
        - com.yoho.order.dal.ExpressInfoMapper
        - com.yoho.order.dal.BuyerOrderGoodsMapper
        - com.yoho.order.dal.BuyerOrderMetaMapper
        - com.yoho.order.dal.ExpressCompanyMapper
        - com.yoho.order.dal.BuyerOrderMetaMapper
        - com.yoho.order.dal.SellerOrderMetaMapper
        - com.yoho.order.dal.OrdersPayMapper
        - com.yoho.order.dal.AppraiseAddressMapper
        - com.yoho.order.dal.ExpressRecordMapper
        - com.yoho.order.dal.AreaMapper
        - com.yoho.order.dal.OrderOperateRecordMapper
        - com.yoho.order.dal.TradeBillsMapper

   ufo_resource:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      maxTotal: 100
      daos:
        - com.yoho.ufo.dal.ResourcesMapper
        - com.yoho.ufo.dal.ResourcesContentMapper
        - com.yoho.ufo.dal.ResourcesContentDataMapper
        - com.yoho.ufo.dal.ResourcesGoodsPoolMapper

readOnlyInSlave: true