success($this->loginLogService->getPageList($this->request->all())); } /** * 获取操作日志列表 * @return \Psr\Http\Message\ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[GetMapping("getOperLogPageList"), Permission("system:operLog")] public function getOperLogPageList(): \Psr\Http\Message\ResponseInterface { return $this->success($this->operLogService->getPageList($this->request->all())); } /** * 获取接口日志列表 * @return \Psr\Http\Message\ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[GetMapping("getApiLogPageList"), Permission("system:apiLog")] public function getApiLogPageList(): \Psr\Http\Message\ResponseInterface { return $this->success($this->apiLogService->getPageList($this->request->all())); } /** * 获取队列日志列表 * @return \Psr\Http\Message\ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[GetMapping("getQueueLogPageList"), Permission("system:queueLog")] public function getQueueLogPageList(): \Psr\Http\Message\ResponseInterface { return $this->success($this->queueLogService->getPageList($this->request->all())); } /** * 删除队列日志 * @return \Psr\Http\Message\ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[DeleteMapping("deleteQueueLog"), Permission("system:queueLog:delete"), OperationLog] public function deleteQueueLog(): \Psr\Http\Message\ResponseInterface { return $this->queueLogService->delete((array)$this->request->input('ids', [])) ? $this->success() : $this->error(); } /** * 删除操作日志 * @return \Psr\Http\Message\ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[DeleteMapping("deleteOperLog"), Permission("system:operLog:delete"), OperationLog] public function deleteOperLog(): \Psr\Http\Message\ResponseInterface { return $this->operLogService->delete((array) $this->request->input('ids', [])) ? $this->success() : $this->error(); } /** * 删除登录日志 * @return \Psr\Http\Message\ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[DeleteMapping("deleteLoginLog"), Permission("system:loginLog:delete"), OperationLog] public function deleteLoginLog(): \Psr\Http\Message\ResponseInterface { return $this->loginLogService->delete((array) $this->request->input('ids', [])) ? $this->success() : $this->error(); } /** * 删除API访问日志 * @return \Psr\Http\Message\ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[DeleteMapping("deleteApiLog"), Permission("system:apiLog:delete"), OperationLog] public function deleteApiLog(): \Psr\Http\Message\ResponseInterface { return $this->apiLogService->delete((array) $this->request->input('ids', [])) ? $this->success() : $this->error(); } }