Files
ulthon_admin/app/tools/controller/timer/NginxLogClean.php

21 lines
616 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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