feat(nginx-log): NginxLogImport 定时任务 + timer config 注册(Base/App 双层)

This commit is contained in:
augushong
2026-07-28 05:48:46 +08:00
parent ceb73c750a
commit 13b1313e92
3 changed files with 309 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace app\tools\controller\timer;
use base\tools\controller\timer\NginxLogImportBase;
/**
* nginx 访问日志导入定时任务App 入口类).
*
* 框架路由 /tools/timer.NginxLogImport/do 与 /tools/timer.NginxLogImport/execute
* 均通过本类入口实例化(依赖倒置:定时器框架/路由系统直接调本类,不调 Base
*
* 业务侧如需定制导入行为(如改批大小、加自定义过滤、改入库目标表等),
* 重写本类对应方法即可拦截,无需改动 extend/base/。
*/
class NginxLogImport extends NginxLogImportBase
{
}