mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 12:45:32 +08:00
feat(nginx-log): NginxLogAggregator 聚合 service(Base/App 双层,delete-then-insert 幂等)
This commit is contained in:
15
app/common/service/NginxLogAggregator.php
Normal file
15
app/common/service/NginxLogAggregator.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace app\common\service;
|
||||
|
||||
use base\common\service\NginxLogAggregatorBase;
|
||||
|
||||
/**
|
||||
* Nginx 访问日志聚合统计 Service(业务入口).
|
||||
*
|
||||
* 继承自 Base 内核,业务侧可在本类中重写 aggregateHour / formatDateStr 等方法
|
||||
* 来定制聚合逻辑(依赖倒置:Base 层只调用 app 入口类)。
|
||||
*/
|
||||
class NginxLogAggregator extends NginxLogAggregatorBase
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user