Пример #1
0
 public HomeController(TodayHouseDashboardJob houseDashboardJob,
                       HouseDapper houseDapper,
                       HouseDashboardService houseDashboardService,
                       PinPaiGongYuHouseCrawler pinpai,
                       PeopleRentingCrawler people,
                       DoubanHouseCrawler douban,
                       CCBHouesCrawler ccbHouse,
                       ZuberHouseCrawler zuber,
                       MoGuHouseCrawler mogu,
                       HKSpaciousCrawler hkSpacious,
                       BaiXingHouseCrawler baixing,
                       SyncHousesToESJob syncHousesToESJob,
                       ElasticsearchService elasticsearchService)
 {
     this.houseDashboardJob     = houseDashboardJob;
     this.houseDapper           = houseDapper;
     this.houseDashboardService = houseDashboardService;
     this.pinpai               = pinpai;
     this.people               = people;
     this.douban               = douban;
     this.ccbHouse             = ccbHouse;
     this.zuber                = zuber;
     this.mogu                 = mogu;
     this.hkSpacious           = hkSpacious;
     this.baixing              = baixing;
     this.syncHousesToESJob    = syncHousesToESJob;
     this.elasticsearchService = elasticsearchService;
 }
Пример #2
0
 public IActionResult RunJobs()
 {
     DoubanHouseCrawler.Run();
     PinPaiGongYuHouseCrawler.Run();
     PeopleRentingCrawler.Run();
     CCBHouesCrawler.Run();
     ZuberHouseCrawler.Run();
     MoGuHouseCrawler.Run();
     return(View());
 }
Пример #3
0
 public PingPaiPeopleJob(PinPaiGongYuHouseCrawler pinpai,
                         PeopleRentingCrawler people,
                         DoubanHouseCrawler douban,
                         CCBHouesCrawler ccbHouse,
                         ZuberHouseCrawler zuber,
                         MoGuHouseCrawler mogu)
 {
     this.pinpai   = pinpai;
     this.people   = people;
     this.douban   = douban;
     this.ccbHouse = ccbHouse;
     this.zuber    = zuber;
     this.mogu     = mogu;
 }
Пример #4
0
 public HomeController(HouseDashboardJob houseDashboardJob,
                       HouseDapper houseDapper,
                       HouseDashboardService houseDashboardService,
                       PinPaiGongYuHouseCrawler pinpai,
                       PeopleRentingCrawler people,
                       DoubanHouseCrawler douban,
                       CCBHouesCrawler ccbHouse,
                       ZuberHouseCrawler zuber,
                       MoGuHouseCrawler mogu,
                       HKSpaciousCrawler hkSpacious)
 {
     this.houseDashboardJob     = houseDashboardJob;
     this.houseDapper           = houseDapper;
     this.houseDashboardService = houseDashboardService;
     this.pinpai     = pinpai;
     this.people     = people;
     this.douban     = douban;
     this.ccbHouse   = ccbHouse;
     this.zuber      = zuber;
     this.mogu       = mogu;
     this.hkSpacious = hkSpacious;
 }
Пример #5
0
 public JobsController(TodayHouseDashboardJob houseDashboardJob,
                       HouseDapper houseDapper,
                       HouseDashboardService houseDashboardService,
                       PinPaiGongYuHouseCrawler pinpai,
                       PeopleRentingCrawler people,
                       DoubanHouseCrawler douban,
                       CCBHouesCrawler ccbHouse,
                       ZuberHouseCrawler zuber,
                       MoGuHouseCrawler mogu,
                       HKSpaciousCrawler hkSpacious,
                       BaiXingHouseCrawler baixing,
                       ChengduZufangCrawler chengdu,
                       SyncHousesToESJob syncHousesToESJob,
                       ElasticsearchService elasticsearchService,
                       RefreshHouseCacheJob refreshHouseCacheJob,
                       RefreshHouseSourceJob refreshHouseSourceJob,
                       BeikeHouseCrawler beike)
 {
     this.houseDashboardJob     = houseDashboardJob;
     this.houseDapper           = houseDapper;
     this.houseDashboardService = houseDashboardService;
     this.pinpai                = pinpai;
     this.people                = people;
     this.douban                = douban;
     this.ccbHouse              = ccbHouse;
     this.zuber                 = zuber;
     this.mogu                  = mogu;
     this.hkSpacious            = hkSpacious;
     this.baixing               = baixing;
     this.syncHousesToESJob     = syncHousesToESJob;
     this.elasticsearchService  = elasticsearchService;
     this.refreshHouseCacheJob  = refreshHouseCacheJob;
     this.refreshHouseSourceJob = refreshHouseSourceJob;
     this.beike                 = beike;
     this.chengdu               = chengdu;
 }
Пример #6
0
 public IActionResult RunZuber()
 {
     ZuberHouseCrawler.Run();
     MoGuHouseCrawler.Run();
     return(View());
 }