fix: 手机号验证类型错误(bool-String)

This commit is contained in:
orz12
2024-09-02 00:29:54 +08:00
committed by bggRGjQaUbCoE
parent ef44b346e1
commit 50f77c9f23

View File

@@ -317,11 +317,13 @@ class LoginPageController extends GetxController
return;
}
Map<String, String> accountInfo = {
"telVerify": safeCenterRes['data']['account_info']!['tel_verify'],
"hindTel": safeCenterRes['data']['account_info']!["hide_tel"],
"mailVerify": safeCenterRes['data']['account_info']!['mailVerify'],
"hindMail": safeCenterRes['data']['account_info']!["hide_mail"],
};
if (!safeCenterRes['data']['account_info']!['tel_verify']) {
SmartDialog.showToast("当前账号未支持手机号验证,请尝试其它登录方式");
return;
}
TextEditingController _textFieldController = TextEditingController();
String captchaKey = '';
Get.dialog(AlertDialog(