hyperf-view/builder/Generator/Stubs/Controller/realDelete.stub

13 lines
502 B
Plaintext

/**
* 单个或批量真实删除数据 (清空回收站)
* @return ResponseInterface
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
#[DeleteMapping("realDelete"), Permission("{REAL_DELETE_PERMISSION}"), OperationLog]
public function realDelete(): ResponseInterface
{
return $this->service->realDelete((array) $this->request->input('ids', [])) ? $this->success() : $this->error();
}