adminReturn->success( 'success', $this->adminUserOperationLogRepository->page( $this->getRequestData(), $this->getCurrentPage(), $this->getPageSize() ) ); } /** * @return array */ public function deleteLog(): array { if (!$this->adminUserOperationLogRepository->deleteById($this->request->input('ids'))) throw new ErrException('删除失败'); return $this->adminReturn->success(); } }