GetUrl method
Implementation
Future<void> GetUrl() async {
debugPrint("开始发起请求链接");
YZMGeneratedMenu.openAppflyerFunction();
String spKey = await XNWPlugins.to.getSpkey();
if (spKey.isNotEmpty) {
debugPrint("加载之前的");
url =
"${XNWPlugins.to.nu}/${spKey.replaceAll('.png', '').replaceAll('.jpg', '')}?${getRandomString()}fv=v1.0.0&${getRandomString()}ci=${XNWPlugins.to.idfaString}";
debugPrint("设置 URL: $url");
setState(() {});
readyForNext();
} else {
debugPrint("加载新的");
doNew();
}
}