乐健体育 v3.9.1版本的 MD5 值为:87ae8a64955cdd0e43f3559ee8984d75
以下内容为反编译后的 StringConst.java 源代码,内容仅作参考
package io.dcloud.common.constant;
import android.text.TextUtils;
import com.google.mlkit.common.sdkinternal.OptionalModuleUtils;
import io.dcloud.common.DHInterface.IApp;
import io.dcloud.common.adapter.util.AndroidResources;
public final class StringConst extends AndroidResources implements AbsoluteConst {
public static String T_URL_BASE_DATA = "appid=%s&imei=%s&net=%d&md=%s&os=%d&vb=%s&sf=%d&p=a&d1=%d&sfd=%s&vd=%s&pn=%s";
private static long sChangeTime;
public static String STREAMAPP_KEY_BASESERVICEURL() {
return mainHost();
}
private static String backupHost() {
return "https://stream.mobihtml5.com/";
}
public static boolean canChangeHost(String str) {
if (str.contains(backupHost())) {
return false;
}
return str.contains(mainHost());
}
public static String changeHost(String str) {
return str.replace(mainHost(), backupHost());
}
public static int getIntSF(String str) {
if (TextUtils.isEmpty(str)) {
return 1;
}
if (OptionalModuleUtils.BARCODE.equals(str)) {
return 2;
}
if ("scheme".equals(str)) {
return 3;
}
if (IApp.ConfigProperty.CONFIG_STREAM.equals(str)) {
return 6;
}
if (IApp.ConfigProperty.CONFIG_SHORTCUT.equals(str)) {
return 5;
}
if ("push".equals(str)) {
return 4;
}
if ("myapp".equals(str)) {
return 7;
}
if ("browser".equals(str)) {
return 8;
}
if (str.indexOf("third:") == 0) {
return 9;
}
if ("favorite".equals(str)) {
return 10;
}
if ("engines".equals(str)) {
return 11;
}
if ("apush".equals(str)) {
return 40;
}
return "speech".equals(str) ? 30 : 1;
}
private static String mainHost() {
return "https://stream.dcloud.net.cn/";
}
}