13 lines
477 B
Plaintext
13 lines
477 B
Plaintext
|
|
/**
|
|
* 单个或批量恢复在回收站的数据
|
|
* @return ResponseInterface
|
|
* @throws \Psr\Container\ContainerExceptionInterface
|
|
* @throws \Psr\Container\NotFoundExceptionInterface
|
|
*/
|
|
#[PutMapping("recovery"), Permission("{RECOVERY_PERMISSION}"), OperationLog]
|
|
public function recovery(): ResponseInterface
|
|
{
|
|
return $this->service->recovery((array) $this->request->input('ids', [])) ? $this->success() : $this->error();
|
|
}
|