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