databases.yml 6.73 KB
datasources:
   ufo_passport:
      servers:
        - ${jdbc.mysql.ufo.master}
        - ${jdbc.mysql.ufo.slave}
      username: ${jdbc.mysql.ufo.username}
      password: ${jdbc.mysql.ufo.password}
      daos:
        - com.yohoufo.dal.user.IUserAuthorizeHistoryDao
        - com.yohoufo.dal.user.IUserAuthorizeInfoDao
        - com.yohoufo.dal.user.IZhiMaCertDao

   ufo_product:
      servers:
        - ${jdbc.mysql.ufo.master}
        - ${jdbc.mysql.ufo.slave}
      username: ${jdbc.mysql.ufo.username}
      password: ${jdbc.mysql.ufo.password}
      daos:
        - com.yohoufo.dal.product.StoragePriceMapper
        - com.yohoufo.dal.product.StorageMapper
        - com.yohoufo.dal.product.ProductMapper
        - com.yohoufo.dal.product.GoodsMapper
        - com.yohoufo.dal.product.GoodsImagesMapper
        - com.yohoufo.dal.product.SizeMapper
        - com.yohoufo.dal.product.BrandMapper
        - com.yohoufo.dal.product.BrandSeriesMapper
        - com.yohoufo.dal.product.ProductSortMapper
        - com.yohoufo.dal.product.SearchWordMapper
        - com.yohoufo.dal.product.SaleCategoryMapper
        - com.yohoufo.dal.product.IdentifyRecordsMapper
        - com.yohoufo.dal.product.IdentifyRelationMapper
        - com.yohoufo.dal.product.ProductChainMapper
        - com.yohoufo.dal.product.PriceTrendSixtyDayMapper
        - com.yohoufo.dal.product.PriceTrendMonthMapper
        - com.yohoufo.dal.product.PriceTrendHalfYearMapper
        - com.yohoufo.dal.product.PriceTrendDayMapper
        - com.yohoufo.dal.product.ProductImportTranItemMapper
        - com.yohoufo.dal.product.TransferRecordsMapper
        - com.yohoufo.dal.product.TransferRecordsHistoryMapper
        - com.yohoufo.dal.product.ProductLimitSaleMapper
        - com.yohoufo.dal.product.ProductSalesMapper
        - com.yohoufo.dal.product.ProductSelfShelvesMapper
        - com.yohoufo.dal.product.ProductSelfShelvesPicMapper
        - com.yohoufo.dal.product.SecondhandFlawMapper
        - com.yohoufo.dal.product.SecondhandImagesMapper
        - com.yohoufo.dal.product.SecondhandInfoMapper
        - com.yohoufo.dal.product.SelfSizeMapper
        - com.yohoufo.dal.product.SelfSizeUidMapper
        - com.yohoufo.dal.product.ProductProfitMapper

   ufo_order:
         servers:
           - ${jdbc.mysql.ufo.master}
           - ${jdbc.mysql.ufo.slave}
         username: ${jdbc.mysql.ufo.username}
         password: ${jdbc.mysql.ufo.password}
         daos:
           - com.yohoufo.dal.order.BuyerOrderGoodsMapper
           - com.yohoufo.dal.order.BuyerOrderMapper
           - com.yohoufo.dal.order.BuyerOrderMetaMapper
           - com.yohoufo.dal.order.ExpressRecordMapper
           - com.yohoufo.dal.order.ExpressInfoMapper
           - com.yohoufo.dal.order.SellerOrderGoodsMapper
           - com.yohoufo.dal.order.SellerOrderMapper
           - com.yohoufo.dal.order.SellerOrderMetaMapper
           - com.yohoufo.dal.order.OrdersPayMapper
           - com.yohoufo.dal.order.OrdersPayRefundMapper
           - com.yohoufo.dal.order.ExpressCompanyMapper
           - com.yohoufo.dal.order.AppraiseAddressMapper
           - com.yohoufo.dal.order.TradeBillsMapper
           - com.yohoufo.dal.order.OrdersPayTransferMapper
           - com.yohoufo.dal.order.ManualTransferMapper
           - com.yohoufo.dal.order.MachineIdGenerateMapper
           - com.yohoufo.dal.order.SkupBatchMapper
           - com.yohoufo.dal.order.SellerWalletMapper
           - com.yohoufo.dal.order.SellerWalletDetailMapper
           - com.yohoufo.dal.order.OrderCouponMapper
           - com.yohoufo.dal.order.EntrySellerRechargeOrderMapper
           - com.yohoufo.dal.order.StoredSellerMapper
           - com.yohoufo.dal.order.SuperEntrySellerMapper
           - com.yohoufo.dal.order.QiniuLiveRecordMapper
           - com.yohoufo.dal.order.SellerOrderGoodsViewMapper
           - com.yohoufo.dal.order.SellerTaskMapper
           - com.yohoufo.dal.order.SellerTaskDetailMapper
           - com.yohoufo.dal.order.OrdersPrePayMapper
           - com.yohoufo.dal.order.MetaConfigMapper
           - com.yohoufo.dal.order.BuyerOrderStatusFlowMapper
           - com.yohoufo.dal.order.OrderOperateRecordMapper
           - com.yohoufo.dal.order.QualityCheckMapper
           - com.yohoufo.dal.order.BusinessLicenseMapper
           - com.yohoufo.dal.order.SellerEnterApplyMapper
           - com.yohoufo.dal.order.SellerFuncMapper
           - com.yohoufo.dal.order.SellerLevelFuncMapper
           - com.yohoufo.dal.order.OrderOverTimeMapper
           - com.yohoufo.dal.order.BuyerOrderViewMapper
           - com.yohoufo.dal.order.SellerJoinHistoryMapper
           - com.yohoufo.dal.order.SellerChangePriceRecordMapper
           - com.yohoufo.dal.order.InviteActivityMapper
           - com.yohoufo.dal.order.InviteRecordMapper
           - com.yohoufo.dal.order.InviterMapper
           - com.yohoufo.dal.order.InviteSettlementItemMapper
           - com.yohoufo.dal.order.InviteSettlementMapper
           - com.yohoufo.dal.order.InviteCodeSequenceMapper
           - com.yohoufo.dal.order.InviteCodeSequenceRandomMapper
           - com.yohoufo.dal.order.SellerGoodsStatusFlowMapper
           - com.yohoufo.dal.order.CmsPayMapper
           - com.yohoufo.dal.order.OrdersPayHbfqMapper
           - com.yohoufo.dal.order.BlackUserMapper
           - com.yohoufo.dal.order.StorageDepositMapper
           - com.yohoufo.dal.order.DepositOrderMapper
           - com.yohoufo.dal.order.SellerOrderStatsConfigMapper
           - com.yohoufo.dal.order.SellerOrderStatsResultMapper
           - com.yohoufo.dal.order.AlipayBlackUserMapper

   ufo_promotion:
         servers:
           - ${jdbc.mysql.ufo.master}
           - ${jdbc.mysql.ufo.master}
         username: ${jdbc.mysql.ufo.username}
         password: ${jdbc.mysql.ufo.password}
         daos:
           - com.yohoufo.dal.promotion.CouponMapper
           - com.yohoufo.dal.promotion.CouponProductLimitMapper
           - com.yohoufo.dal.promotion.CouponTypeMapper
           - com.yohoufo.dal.promotion.UserCouponMapper


   ufo_resource:
      servers:
        - ${jdbc.mysql.ufo.master}
        - ${jdbc.mysql.ufo.slave}
      username: ${jdbc.mysql.ufo.username}
      password: ${jdbc.mysql.ufo.password}
      daos:
        - com.yohoufo.dal.resource.ResourcesContentDataMapper
        - com.yohoufo.dal.resource.ResourcesContentMapper
        - com.yohoufo.dal.resource.ResourcesMapper
        - com.yohoufo.dal.resource.ConfigTypeMapper
        - com.yohoufo.dal.resource.ResourcesGoodsPoolMapper

   line_shops:
     servers:
       - ${jdbc.mysql.lineshops.master}
       - ${jdbc.mysql.lineshops.slave}
     username: ${jdbc.mysql.lineshops.username}
     password: ${jdbc.mysql.lineshops.password}
     daos:
       - com.yohoufo.dal.product.IStoreInfoDAO
       - com.yohoufo.dal.product.IStoreInfoExtendDAO

readOnlyInSlave: true