\App\Http\Controllers\AdminLogOperController

操作日志控制器

职责:操作审计台账的只读 HTTP 入口——分页列表(搜索/模块/业务类型筛选) 与单条详情(含脱敏参数)。权限:sys:log:read。

┌────────────────── 分区导航(按此顺序阅读)──────────────────┐ 分区 1 · 列表与详情 index / show └────────────────────────────────────────────────────────────┘

Summary

Methods
Properties
Constants
__construct()
index()
show()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$operLogService
N/A

Properties

$operLogService

$operLogService : \App\Services\Admin\LogOperService

Type

LogOperService

Methods

__construct()

__construct(\App\Services\Admin\LogOperService  $operLogService) : mixed

Parameters

\App\Services\Admin\LogOperService $operLogService

Returns

mixed —

index()

index(\App\Http\Requests\Admin\LogOperIndexRequest  $request) : \Illuminate\Http\JsonResponse

操作日志列表

分页查询操作日志:search 模糊命中操作人、模块、请求路径与 客户端 IP,module 按功能模块筛选,business_type 按业务类型 0-4 筛选,按时间倒序。

Parameters

\App\Http\Requests\Admin\LogOperIndexRequest $request

Returns

\Illuminate\Http\JsonResponse —

show()

show(\App\Models\LogSysOper  $log) : \Illuminate\Http\JsonResponse

操作日志详情

返回单条操作日志全量字段,含请求参数与响应摘要; 非超级管理员仅可见本人行。

Parameters

\App\Models\LogSysOper $log

Returns

\Illuminate\Http\JsonResponse —