add(); } /** * @param SectionRequest $request * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws RedisException */ #[RequestMapping(path: "edit", methods: "POST")] #[Scene(scene: "edit")] public function edit(SectionRequest $request) { return (new SectionService)->edit(); } /** * @param SectionRequest $request * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws RedisException */ #[RequestMapping(path: "del", methods: "GET")] #[Scene(scene: "del")] public function del(SectionRequest $request) { return (new SectionService)->del(); } /** * @param SectionRequest $request * @return array */ #[RequestMapping(path: "info", methods: "GET")] #[Scene(scene: "info")] public function info(SectionRequest $request) { return (new SectionService)->info(); } /** * @param SectionRequest $request * @return array */ #[RequestMapping(path: "list", methods: "GET")] #[Scene(scene: "list")] public function list(SectionRequest $request) { return (new SectionService)->handle(); } /** * @param SectionRequest $request * @return array */ #[RequestMapping(path: "all_list", methods: "GET")] #[Scene(scene: "all_list")] public function allList(SectionRequest $request) { return (new SectionService)->handle(); } }