handle(); } #[RequestMapping(path: 'city',methods: 'GET')] #[Scene(scene: 'city')] public function getCityList() { return (new CityListService)->handle(); } #[RequestMapping(path: 'mini_wx/about_us',methods: 'GET')] #[Scene(scene: 'mini_wx_config')] public function getMiniWxConfig() { return (new MiniWxConfigService)->handle(); } #[RequestMapping(path: 'config',methods: 'GET')] #[Scene(scene: 'config')] public function systemConfig() { return (new SystemConfigService)->handle(); } #[RequestMapping(path: 'index',methods: 'GET')] #[Scene(scene: 'index')] #[Middleware(JwtAuthMiddleware::class)] public function index(): array { return (new IndexService)->handle(); } /** * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: "sts/accredit", methods: "GET")] #[Scene(scene: 'sts_accredit')] #[Middleware(JwtAuthMiddleware::class)] public function aliSts() { return (new AliStsService)->handle(); } #[RequestMapping(path: "leaderboard", methods: "GET")] #[Scene(scene: 'leaderboard')] // #[Middleware(JwtAuthMiddleware::class)] public function getLeaderboardHistory() { return (new GetLeaderboardService)->handle(); } }