更新东华信息配置

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

@@ -8,8 +8,8 @@ import 'package:vbvs_app/enum/APPPackageType.dart';
class AppConstants {
// App-related constants
static const String zhmht_app_version = "SWES_1.2026.1.8";//眠花糖
static const String theh_app_version = "1.2601.12";//太和
static const String zhmht_app_version = "SWES_1.2026.1.8"; //眠花糖
static const String theh_app_version = "1.2601.12"; //太和
// 1. 纯字符串列表格式
static const List<String> integerTimeZones = [
@@ -90,8 +90,9 @@ class AppConstants {
//系统参数
//运行打包APP模式
// int ent_type = APPPackageType.MHT.code; //1.默认太和 2.欢睡 3.眠花糖
int ent_type = APPPackageType.TH.code; //1.默认太和 2.欢睡 3.眠花糖
// int ent_type = APPPackageType.TH.code; //1.默认太和 2.欢睡 3.眠花糖
// int ent_type = APPPackageType.HUANSHUI.code; //1.默认太和 2.欢睡 3.眠花糖
int ent_type = APPPackageType.DONGHUA.code; //1.默认太和 2.欢睡 3.眠花糖 4.东华
int text_length = 8;
int wifi1 = -45;
@@ -132,6 +133,15 @@ String getPrivacy(int type) {
return ServiceConstant.policy_url +
"/theh" +
"/th_user_policy_$language.html";
} else if (AppConstants().ent_type == APPPackageType.DONGHUA.code) {
if (type == 1) {
return ServiceConstant.policy_url +
"/donghua" +
"/th_privacy_policy_$language.html";
}
return ServiceConstant.policy_url +
"/donghua" +
"/th_user_policy_$language.html";
} else {
if (type == 1) {
return ServiceConstant.policy_url +