mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-09-02 14:11:38 +08:00
feat(nginx-log): 新增 6 张表 phinx migration + Scheme + model
This commit is contained in:
26
app/admin/model/NginxStatHour.php
Normal file
26
app/admin/model/NginxStatHour.php
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user