更新协议方式

This commit is contained in:
wyf
2025-08-16 09:23:07 +08:00
parent 8731f7c335
commit 3713d95212
11 changed files with 721 additions and 51 deletions

View File

@@ -74,18 +74,30 @@ String getPrivacy(int type) {
}
if (AppConstants().ent_type == APPPackageType.MHT.code) {
if (type == 1) {
return ServiceConstant.policy_url + "/mht_privacy_policy_$language.html";
return ServiceConstant.policy_url +
"/mht" +
"/mht_privacy_policy_$language.html";
}
return ServiceConstant.policy_url + "/mht_user_policy_$language.html";
return ServiceConstant.policy_url +
"/mht" +
"/mht_user_policy_$language.html";
} else if (AppConstants().ent_type == APPPackageType.TH.code) {
if (type == 1) {
return ServiceConstant.policy_url + "/th_privacy_policy_$language.html";
return ServiceConstant.policy_url +
"/th" +
"/th_privacy_policy_$language.html";
}
return ServiceConstant.policy_url + "/th_user_policy_$language.html";
return ServiceConstant.policy_url +
"/th" +
"/th_user_policy_$language.html";
} else {
if (type == 1) {
return ServiceConstant.policy_url + "/th_privacy_policy_$language.html";
return ServiceConstant.policy_url +
"/th" +
"/th_privacy_policy_$language.html";
}
return ServiceConstant.policy_url + "/th_user_policy_$language.html";
return ServiceConstant.policy_url +
"/th" +
"/th_user_policy_$language.html";
}
}