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