更新东华信息配置
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user