add(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws RedisException */ #[RequestMapping(path: "list", methods: "GET")] #[Scene(scene: "list")] public function list(): array { return (new CityService)->handle(); } /** * @return array */ #[RequestMapping(path: "edit", methods: "GET")] #[Scene(scene: "edit")] public function edit(): array { return (new CityService)->changeStatus(); } /** * @return array */ #[RequestMapping(path: "del", methods: "GET")] #[Scene(scene: "del")] public function delete(): array { return (new CityService)->delete(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws RedisException */ #[RequestMapping(path: "info", methods: "GET")] #[Scene(scene: "info")] public function info(): array { return (new CityService)->info(); } }