feat : spu

This commit is contained in:
2025-03-26 11:24:47 +08:00
parent b5afff6e21
commit 0c5ed8b1c5
3 changed files with 36 additions and 1 deletions

View File

@@ -172,4 +172,17 @@ class CateringController
{
return (new CompletePrintService)->handle();
}
/**
* 取消打印
* @return array
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
#[RequestMapping(path: "option/cancel_print", methods: "GET")]
#[Scene(scene: "option_cancel_print")]
public function cancelPrint()
{
return (new PrintService)->cancel();
}
}