14 lines
394 B
Plaintext
14 lines
394 B
Plaintext
|
|
/**
|
|
* 读取数据
|
|
* @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));
|
|
}
|