/** * 读取数据 * @param int $id * @return ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[GetMapping("read/{id}"), Permission("{READ_PERMISSION}")] public function read(int $id): ResponseInterface { return $this->success($this->service->read($id)); }