更新东华信息配置

This commit is contained in:
wyf
2026-01-14 15:09:52 +08:00
parent f929e8c0ff
commit dfd9523433
17 changed files with 507 additions and 430 deletions

View File

@@ -167,11 +167,14 @@ class LoginController extends GetControllerEx<LoginModel> {
UserInfoController userInfoController = Get.find();
var data = {
"userName": model.phone,
"ccode":userInfoController.select_country_code.value,
"ccode": userInfoController.select_country_code.value,
};
if (AppConstants().ent_type == APPPackageType.HUANSHUI.code) {
data['code'] = "hzhskj";
}
if (AppConstants().ent_type == APPPackageType.DONGHUA.code) {
data['code'] = "dh";
}
var response =
await EasyDartModule.dio.post(queryUrl, data: jsonEncode(data));
if (response != null) {
@@ -238,11 +241,14 @@ class LoginController extends GetControllerEx<LoginModel> {
var data = {
"userName": model.updatePhone,
"type": 5,
"ccode":userInfoController.select_country_code.value,
"ccode": userInfoController.select_country_code.value,
};
if (AppConstants().ent_type == APPPackageType.HUANSHUI.code) {
data['code'] = "hzhskj";
}
if (AppConstants().ent_type == APPPackageType.DONGHUA.code) {
data['code'] = "dh";
}
var response =
await EasyDartModule.dio.post(queryUrl, data: jsonEncode(data));
if (response != null) {