mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-09-03 22:51:37 +08:00
feat(nginx-log): curd 生成 raw/position 后台并改只读
- NginxAccessLog + NginxLogPosition Scheme 加 #[Component] 注解 - Scheme Table name 补 ul_ 前缀(curd 严格校验要求) - curd 生成 nginx 模块完整后台(controller/model/view/js) - Base/App 双层只读控制器(参照 TimerLogBase 范式) - AccessLogBase: add/edit/delete/modify 全部 error - LogPositionBase: 同上 - 视图改造: - access_log 裁剪到 8 列核心字段(time_local/method/uri/status/remote_addr/request_time/body_bytes_sent/http_user_agent) - status/request_time 自定义 badge 渲染 - toolbar 清空 + operat 仅保留详情(B 类只读页面) - log_position 全字段 + 只读化 - HTTP 验证:index 200 OK + add/edit/delete/modify 全部返回错误
This commit is contained in:
13
app/admin/controller/nginx/AccessLog.php
Normal file
13
app/admin/controller/nginx/AccessLog.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\controller\nginx;
|
||||
|
||||
use base\admin\controller\nginx\AccessLogBase;
|
||||
|
||||
/**
|
||||
* nginx 访问日志明细(解析入库)
|
||||
* 日志表为只读,由系统定时任务自动写入,后台不支持手动增删改。
|
||||
*/
|
||||
class AccessLog extends AccessLogBase
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user