databases.yml 4.04 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
        - com.yoho.product.dal.ProductSelfShelvesMapper
        - com.yoho.product.dal.ProductSelfShelvesPicMapper
        - com.yoho.product.dal.AuditRejectInfoMapper
        - com.yoho.product.dal.SecondhandInfoMapper
        - com.yoho.product.dal.SecondhandImagesMapper
        - com.yoho.product.dal.SecondhandFlawMapper

   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.BuyerOrderFeedbackMapper
        - com.yoho.order.dal.ExpressCompanyMapper
        - 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.QualityCheckMapper
        - com.yoho.order.dal.TradeBillsMapper
        - com.yoho.order.dal.StoredSellerMapper
        - com.yoho.order.dal.SellerWalletDetailMapper
        - com.yoho.order.dal.SellerWalletMapper
        - com.yoho.order.dal.QiniuLiveRecordMapper
        - com.yoho.order.dal.CameraRecordMapper
        - com.yoho.order.dal.UserCameraRecordMapper
        - com.yoho.order.dal.OrderStatusMonitorMapper
        - com.yoho.order.dal.BusinessLicenseMapper
        - com.yoho.order.dal.LiveRecordTimeMapper
        - com.yoho.order.dal.SignForPackageMapper
        - com.yoho.order.dal.OrderConfigMapper
        - com.yoho.order.dal.PhoneUidCameraMapper
        - com.yoho.order.dal.PhoneUidDepotMapper
        - com.yoho.order.dal.OrderCouponMapper
        - com.yoho.order.dal.ManualInputPermissionMapper
        - com.yoho.order.dal.ExpressScreenshotsMapper
        - com.yoho.order.dal.AbnormalPackageMapper
        - com.yoho.order.dal.StorageDepositMapper
        - com.yoho.order.dal.DepositOrderMapper
        - com.yoho.order.dal.DepositCodeMapper
        - com.yoho.order.dal.ClearanceRecordMapper
        - com.yoho.order.dal.ProductSizeMapper
        - com.yoho.order.dal.DepositShelfCodeMapper
        - com.yoho.order.dal.AbnormalOrderMapper
        - com.yoho.order.dal.AppraiseOrderMapper
        - com.yoho.order.dal.AppraiseOrderGoodsMapper

   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

   erp_product:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      maxTotal: 100
      daos:
        - com.yoho.erpproduct.dal.ErpProductSortMapper

   ufo_promotion:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      maxTotal: 100
      daos:
        - com.yoho.ufo.dal.CouponMapper
        - com.yoho.ufo.dal.CouponProductLimitMapper
        - com.yoho.ufo.dal.CouponTypeMapper
        - com.yoho.ufo.dal.UserCouponMapper

   ufo_passport:
         servers:
           - 192.168.102.219:3306
           - 192.168.102.219:3306
         username: yh_test
         password: 9nm0icOwt6bMHjMusIfMLw==
         maxTotal: 100
         daos:
           - com.yoho.order.dal.ZhimaCertMapper

readOnlyInSlave: true