feat(nginx-log): 新增 6 张表 phinx migration + Scheme + model

This commit is contained in:
augushong
2026-07-28 00:03:49 +08:00
parent f48e0947cb
commit 0d19881a22
18 changed files with 590 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace app\admin\model;
use app\common\model\TimeModel;
/**
* @property int $id
* @property int $stat_date 统计日期(YYYYMMDD)
* @property int $stat_hour 小时(0-23)
* @property int $pv 页面浏览量
* @property int $uv 独立访客数
* @property int $total_bytes 总流量(字节)
* @property int $status_2xx 2xx 响应数
* @property int $status_3xx 3xx 响应数
* @property int $status_4xx 4xx 响应数
* @property int $status_5xx 5xx 响应数
* @property int $status_other 其他状态码响应数
* @property float $avg_request_time 平均请求耗时(秒)
*/
class NginxStatHour extends TimeModel
{
protected $name = 'nginx_stat_hour';
protected $deleteTime = false;
}