/** * 新增 * @param {REQUEST} $request * @return ResponseInterface * @throws \Psr\Container\ContainerExceptionInterface * @throws \Psr\Container\NotFoundExceptionInterface */ #[PostMapping("save"), Permission("{SAVE_PERMISSION}"), OperationLog] public function save({REQUEST} $request): ResponseInterface { return $this->success(['id' => $this->service->save($request->all())]); }