|
|
|
@ -140,10 +140,12 @@ Class FrontApiController extends SiteController {
@@ -140,10 +140,12 @@ Class FrontApiController extends SiteController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//调用HeroUnion联盟接口,提交新的数据抓取任务 |
|
|
|
|
if (!empty(FSC::$app['config']['heroUnionEnable'])) { |
|
|
|
|
$platformName = Html::getShareVideosPlatform($shareUrl); |
|
|
|
|
$heroUnionConfig = FSC::$app['config']['heroUnion']; |
|
|
|
|
$this->addHeroUnionTask($shareUrl, $heroUnionConfig['supportedPlatforms'][$platformName]); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return $done; |
|
|
|
|
} |
|
|
|
|