feat(timer): 新增 run_type 调度、host_id 投递和日志清理

T7: TimerBase shouldExecuteTask() - main/auto/all/manual/disabled modes
    with two-phase DB row lock for auto mode
T8: TimerControllerBase - host_id param, logStart/logEnd methods
    TimerServiceBase - inject host_id into site URLs
T9: TimerLogClean command - php think admin:timer:log:clean --days=30
This commit is contained in:
augushong
2026-05-26 02:41:10 +08:00
parent abeac2c3cb
commit 25fab093fa
7 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
namespace app\common\command\admin\timer;
use base\common\command\admin\timer\TimerLogCleanBase;
class TimerLogClean extends TimerLogCleanBase
{
}