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; }
public IActionResult RunJobs() { DoubanHouseCrawler.Run(); PinPaiGongYuHouseCrawler.Run(); PeopleRentingCrawler.Run(); CCBHouesCrawler.Run(); ZuberHouseCrawler.Run(); MoGuHouseCrawler.Run(); return(View()); }
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; }
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; }
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; }
public IActionResult RunZuber() { ZuberHouseCrawler.Run(); MoGuHouseCrawler.Run(); return(View()); }