databases.yml 2.09 KB
datasources:
   ufo_passport:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      daos:
        - com.yohoufo.dal.user.IUserAuthorizeHistoryDao
        - com.yohoufo.dal.user.IUserAuthorizeInfoDao

   ufo_product:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      daos:
        - com.yohoufo.dal.product.StoragePriceMapper
        - com.yohoufo.dal.product.StorageMapper
        - com.yohoufo.dal.product.ProductMapper
      
   yh_inbox:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==

   ufo_order:
         servers:
           - 192.168.102.219:3306
           - 192.168.102.219:3306
         username: yh_test
         password: 9nm0icOwt6bMHjMusIfMLw==
         daos:
           - com.yohoufo.dal.order.BuyerOrderGoodsMapper
           - com.yohoufo.dal.order.BuyerOrderMapper
           - com.yohoufo.dal.order.BuyerOrderMetaMapper
           - com.yohoufo.dal.order.ExpressInfoMapper
           - com.yohoufo.dal.order.SellerOrderGoodsMapper
           - com.yohoufo.dal.order.SellerOrderMapper
           - com.yohoufo.dal.order.SellerOrderMetaMapper

   yh_passport:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      daos:
        - com.yoho.favorite.dal.FavoriteMapper
        - com.yoho.favorite.dal.IBrandFavoriteDAO
        - com.yoho.favorite.dal.BrandFavoriteTotalMapper
        - com.yoho.favorite.dal.ShopsFavoriteNumBaseMapper
        - com.yoho.other.dal.ShareCommandMapper

   ufo_resource:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      daos:
        - com.yohoufo.dal.resource.ResourcesContentDataMapper
        - com.yohoufo.dal.resource.ResourcesContentMapper
        - com.yohoufo.dal.resource.ResourcesMapper
readOnlyInSlave: true