public function resolve(Request
$request, Context
$context): Response
{ $strategy =
$request->
get('strategy'
);
if (!
$strategy) { throw RoutingException::
missingRequestParameter('strategy'
);
} try { $this->appUrlChangeResolver->
resolve($strategy,
$context);
} catch (AppUrlChangeStrategyNotFoundException
$e) { throw new AppUrlChangeStrategyNotFoundHttpException($e);
} return new Response(null, Response::HTTP_NO_CONTENT
);
} #[Route(path: 'api/app-system/app-url-change/url-difference', name: 'api.app_system.app-url-difference', methods: ['GET'])]
public function getUrlDifference(): Response
{ try { $this->shopIdProvider->
getShopId();
} catch (AppUrlChangeDetectedException
$e) {