handle(); } /** * 动态代理 * @return array * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface */ #[RequestMapping(path: 'dynamic', methods: 'GET')] public function dynamic(): array { return (new DynamicProxyService)->handle(); } /** * aop代理 * @return array */ #[RequestMapping(path: 'payment', methods: 'GET')] public function payment(): array { return (new AopService)->handle(); } /** * 缓存代理 * @return array */ #[RequestMapping(path: 'get_user_info', methods: 'GET')] public function getUserInfo(): array { return (new UserService)->handle(); } /** * @return array */ #[RequestMapping(path: 'remote', methods: 'GET')] public function remote(): array { return (new RemoteService)->handle(); } }