更新眠花糖邮箱登录

This commit is contained in:
wyf
2026-01-26 15:01:57 +08:00
parent dfd9523433
commit 2aedbb3d74
11 changed files with 1220 additions and 388 deletions

View File

@@ -140,6 +140,7 @@ void initServiceAddress() {
if (AppConstants().ent_type == APPPackageType.MHT.code) {
// 眠花糖
ServiceConstant.baseHost = "zhmht.swes.com.cn:27020";
// ServiceConstant.baseHost = "vsbs-test.he-info.cn";
} else if (AppConstants().ent_type == APPPackageType.TH.code) {
// 太和
ServiceConstant.baseHost = "vsbst-api.he-info.com";
@@ -958,7 +959,7 @@ class MyApp extends StatelessWidget {
const Locale('en', 'US'), // ⚠️ 添加你支持的语言
],
debugShowCheckedModeBanner: false,
title: '太和e护',
title: getAPPName(),
theme: themeController.currentTheme,
// home: const MyHomePage(title: '智慧眠花糖 Home Page'),
initialRoute: "/mianPageBottomChange",
@@ -1013,4 +1014,19 @@ class MyApp extends StatelessWidget {
}
});
}
getAPPName() {
switch (AppConstants().ent_type) {
case 1:
return "太和";
case 2:
return "欢睡";
case 3:
return "眠花糖";
case 4:
return "东华智能睡眠";
default:
return "太和e护";
}
}
}