\App\Http\Controllers\ApiLogMyController

我的日志控制器

职责:个人中心的本人日志查询——我的操作(td_log_sys_oper)、我的登录 (td_log_user_login)与密码修改台账(td_log_user_password); ownOnly/恒本人语义保证任何用户(含超管)都只能取到本人行, 这是「看自己」而非「看他人」的专用通道。

┌────────────────── 分区导航(按此顺序阅读)──────────────────┐ 分区 1 · 分页与详情 index / show(kind 分派三类台账) └────────────────────────────────────────────────────────────┘

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
$loginLogService
$passwordLogService
N/A

Properties

$operLogService

$operLogService : \App\Services\Admin\LogOperService

Type

LogOperService

$loginLogService

$loginLogService : \App\Services\Admin\LogLoginService

Type

LogLoginService

$passwordLogService

$passwordLogService : \App\Services\Admin\LogPasswordService

Type

LogPasswordService

Methods

__construct()

__construct(\App\Services\Admin\LogOperService  $operLogService, \App\Services\Admin\LogLoginService  $loginLogService, \App\Services\Admin\LogPasswordService  $passwordLogService) : mixed

Parameters

\App\Services\Admin\LogOperService $operLogService
\App\Services\Admin\LogLoginService $loginLogService
\App\Services\Admin\LogPasswordService $passwordLogService

Returns

mixed —

index()

index(\App\Http\Requests\Api\LogMyIndexRequest  $request) : \Illuminate\Http\JsonResponse

我的记录

个人中心记录分页,仅登录态可访问,恒为本人行。 kind 分派:oper=我的操作、login=我的登录、password=密码修改。

Parameters

\App\Http\Requests\Api\LogMyIndexRequest $request

Returns

\Illuminate\Http\JsonResponse —

show()

show(\App\Http\Requests\Api\LogMyIndexRequest  $request, int  $id) : \Illuminate\Http\JsonResponse

我的记录详情

kind 分派:oper=我的操作、login=我的登录;password 无详情,返回 404。

Parameters

\App\Http\Requests\Api\LogMyIndexRequest $request
int $id

Returns

\Illuminate\Http\JsonResponse —