databases.yml 5.29 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
        - com.yoho.ufo.dal.SizePoolMapper
        - com.yoho.ufo.dal.SizePoolDetailMapper
        - com.yoho.product.model.ProductOperateRecord
        - com.yoho.product.dal.ProductChainMapper
        - com.yoho.ufo.dal.SizePoolImageMapper

   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
        - com.yoho.order.dal.AppraiseOrderMetaMapper
        - com.yoho.order.dal.AppraiseOrderStorageMapper
        - com.yoho.order.dal.OrdersPayRefundMapper
        - com.yoho.order.dal.BuyerOrderStatusFlowMapper
        - com.yoho.order.dal.BlackUserMapper
        - com.yoho.order.dal.MetaConfigMapper
        - com.yoho.order.dal.OperationLogMapper
        - com.yoho.order.dal.RefundRecordMapper
        - com.yoho.ufo.dal.SellerServiceFeeRuleMapper

   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
     - com.yoho.ufo.dal.ResourcesPoolAndCodeMapper

   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
        - com.yoho.ufo.dal.PromotionActivityMapper
        - com.yoho.ufo.dal.PromotionProductScopeMapper
        - com.yoho.ufo.dal.PromotionTypeConditionMapper
        - com.yoho.ufo.dal.CouponDisplayMapper

   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
           - com.yoho.ufo.dal.UsersNoticeMapper

   ufo_ultrablock:
         servers:
           - 192.168.102.219:3306
           - 192.168.102.219:3306
         username: yh_test
         password: 9nm0icOwt6bMHjMusIfMLw==
         maxTotal: 100
         daos:
           - com.yoho.product.dal.ProductInfoMapper

readOnlyInSlave: true