feat: add github spider md push and async task logging

This commit is contained in:
www
2026-04-19 19:37:53 +08:00
parent e8688443e5
commit fccd2bfe5b
12 changed files with 970 additions and 11 deletions

View File

@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace app\task\module;
use app\common\helper\VideoMetadataMissingRefreshHelper;
use app\common\helper\DomainSpiderMdRunHelper;
use app\model\PlanTaskModel;
use app\task\logic\SiteMapLogic;
use app\task\logic\VideoSiteMapLogic;
@@ -98,6 +99,9 @@ class PlanTask
case 'REFRESH_VIDEO_METADATA_TASK_POOL':
self::refreshVideoMetadataTaskPool();
break;
case 'GENERATE_DOMAIN_SPIDER_MD':
self::generateDomainSpiderMd();
break;
}
@@ -141,6 +145,13 @@ class PlanTask
]);
}
public static function generateDomainSpiderMd(): array
{
return DomainSpiderMdRunHelper::run([
'force_regenerate' => 0,
]);
}
/**
* Undocumented function
*