更新验证码选择区号

This commit is contained in:
wyf
2025-12-10 15:22:17 +08:00
parent 793dddfba8
commit fb5a17830b
19 changed files with 671 additions and 438 deletions

View File

@@ -164,8 +164,10 @@ class LoginController extends GetControllerEx<LoginModel> {
queryUrl += "?lang=$language";
}
}
UserInfoController userInfoController = Get.find();
var data = {
"userName": model.phone,
"ccode":userInfoController.select_country_code.value,
};
if (AppConstants().ent_type == APPPackageType.HUANSHUI.code) {
data['code'] = "hzhskj";
@@ -232,9 +234,11 @@ class LoginController extends GetControllerEx<LoginModel> {
queryUrl += "?lang=$language";
}
}
UserInfoController userInfoController = Get.find();
var data = {
"userName": model.updatePhone,
"type": 5,
"ccode":userInfoController.select_country_code.value,
};
if (AppConstants().ent_type == APPPackageType.HUANSHUI.code) {
data['code'] = "hzhskj";