Files
ulthon_admin/app/admin/model/NginxAccessLog.php

35 lines
1.1 KiB
PHP

<?php
namespace app\admin\model;
use app\common\model\TimeModel;
/**
* @property int $id
* @property string $file_path 来源日志文件路径
* @property string $remote_addr 客户端 IP
* @property string $remote_user HTTP 认证用户名
* @property int $time_local 请求时间戳
* @property string $method HTTP 方法
* @property string $uri 请求 URI
* @property string $query_string 查询字符串
* @property string $http_version HTTP 协议版本
* @property int $status HTTP 状态码
* @property int $body_bytes_sent 响应体字节数
* @property string $http_referer Referer
* @property string $http_user_agent User-Agent
* @property float $request_time 请求总耗时(秒)
* @property float $upstream_response_time upstream 响应时间(秒)
* @property int $bytes_sent 总发送字节数
* @property string $country 国家
* @property string $province 省份
* @property string $city 城市
* @property int $create_time 入库时间戳
*/
class NginxAccessLog extends TimeModel
{
protected $name = 'nginx_access_log';
protected $deleteTime = false;
}