fix: mob geetest

This commit is contained in:
My-Responsitories
2026-06-07 14:58:52 +08:00
committed by dom
parent bccda095e5
commit 776fc83904
3 changed files with 55 additions and 33 deletions

View File

@@ -561,17 +561,14 @@ abstract final class RequestUtils {
}
}
final json = await showDialog<Map<String, dynamic>>(
context: Get.context!,
builder: (context) => GeetestWebviewDialog(gt!, challenge!),
);
if (json != null) {
final json = await GeetestWebviewDialog.geetest(gt!, challenge!);
if (json is Map) {
captchaData
..validate = json['geetest_validate']
..seccode = json['geetest_seccode']
..geetest = GeetestData(
challenge: json['geetest_challenge'],
gt: gt!,
gt: gt,
);
gaiaVgateValidate();
}