OurPlay v5.5.9版本的 MD5 值为:d4e139798f4c2243a1145c8af5e21046
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.excelliance.user.account.e.f;
import android.content.Context;
import android.text.TextUtils;
import com.excelliance.kxqp.gs.thpool.tp;
import com.excelliance.user.account.b;
import com.zero.support.core.api.j;
import com.zero.support.core.api.v;
import org.json.JSONException;
import org.json.JSONObject;
public class a implements b.f {
private Context f15537a;
private b.o f15538b;
@Override
public void a() {
}
public a(Context context, b.o oVar) {
this.f15537a = context;
this.f15538b = oVar;
}
@Override
public void a(final String str) {
if (TextUtils.isEmpty(str)) {
this.f15538b.a();
} else {
tp.f(new Runnable() {
@Override
public void run() {
final String d = ((v) com.zero.support.core.api.a.a(v.class)).a(new j("https://sdk.ourplay.com.cn/account/register.php", str)).c().a().d();
tp.i(new Runnable() {
@Override
public void run() {
if (TextUtils.isEmpty(d)) {
a.this.f15538b.a();
return;
}
try {
JSONObject jSONObject = new JSONObject(d);
if (jSONObject.optInt("flag", -1) == 1) {
a.this.f15538b.a(jSONObject.optInt("rid"));
} else {
a.this.f15538b.a(jSONObject.has("msg") ? jSONObject.optString("msg") : "");
}
} catch (JSONException e) {
e.printStackTrace();
a.this.f15538b.a();
}
}
});
}
});
}
}
}