Update v1.2.2版本的 MD5 值为:87ab33f0c8bd4c1dd345062aa2794e73
以下内容为反编译后的 darkness.java 源代码,内容仅作参考
package cn.bmob.v3.http;
import cn.bmob.v3.helper.BmobNative;
import cn.bmob.v3.http.bean.Init;
public final class darkness {
private static volatile darkness Code;
private static byte[] V = new byte[0];
private static String Z = "https://open2.bmob.cn/8/";
private String I = "https://open2.bmob.cn/8/";
private String B = "https://open2.bmob.cn/8/";
private String C = "Response-Id";
private String S = this.I + "secret";
private String F = this.I + "init";
private String D = this.I + "create";
private String L = this.I + "update";
private String a = this.I + "delete";
private String b = this.I + "find";
private String c = this.I + "collect";
private String d = this.I + "signup";
private String e = this.I + "login";
private String f = this.I + "login_or_signup";
private String g = this.I + "reset";
private String h = this.I + "phone_reset";
private String i = this.I + "update_user_password";
private String j = this.I + "email_verify";
private String k = this.I + "timestamp";
private String l = this.I + "batch";
private String m = this.I + "push";
private String n = "http://file.bmob.cn";
private String o = this.I + "files";
private String p = this.I + "mkfile";
private String q = this.I + "bput";
private String r = this.I + "delfile";
private String s = this.I + "thumbnail";
private String t = this.I + "functions";
private String u = "http://io.bmob.cn:3010";
private String v = this.I + "cloud_query";
private String w = this.I + "request_sms";
private String x = this.I + "request_sms_code";
private String y = this.I + "verify_sms_code";
private String z = this.I + "query_sms";
private String A = this.I + "device";
private String E = this.I + "phone_ci";
private String G = this.I + "schemas";
private String H = this.I + "cdn";
private String J = this.I + "savecdnupload";
private String K = this.I + "delcdnupload";
private String M = this.I + "delcdnbatch";
public static String Code() {
return Z;
}
private darkness() {
}
public static darkness V() {
if (Code == null) {
synchronized (V) {
if (Code == null) {
Code = new darkness();
}
}
}
return Code;
}
public final void Code(Init init) {
if (This.Code()) {
cn.bmob.v3.util.thing.Code(this.I);
cn.bmob.v3.util.thing.Code(this.n);
cn.bmob.v3.util.thing.Code(this.u);
return;
}
this.n = init.getFile();
this.u = init.getIo();
}
public final String Code(String str) {
StringBuilder sb = new StringBuilder("?id=");
String appId = BmobNative.getAppId();
sb.append(appId.substring(appId.length() - 6));
String sb2 = sb.toString();
if (!This.V()) {
return this.I + str + sb2;
}
return this.I + str + sb2;
}
public final String I() {
return this.I;
}
public final void V(String str) {
this.I = str;
this.B = str;
}
public final String Z() {
return this.B;
}
public final String B() {
return this.I + "secret";
}
public final String C() {
return this.I + "init";
}
public final String S() {
return this.n;
}
public final String F() {
return this.u;
}
}