更新协议方式
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user