OurPlay v5.5.9版本的 MD5 值为:d4e139798f4c2243a1145c8af5e21046
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.excelliance.user.account.e.e;
import android.content.Context;
import android.text.TextUtils;
import com.excelliance.kxqp.gs.thpool.tp;
import com.excelliance.kxqp.gs.util.bd;
import com.excelliance.user.account.b;
import org.json.JSONException;
import org.json.JSONObject;
public class b implements b.g {
private Context f15531a;
private b.p f15532b;
@Override
public void a() {
}
public b(Context context, b.p pVar) {
this.f15531a = context;
this.f15532b = pVar;
}
public void a(final String str) {
if (TextUtils.isEmpty(str)) {
this.f15532b.d();
} else {
tp.f(new Runnable() {
@Override
public void run() {
final String a2 = bd.a("https://sdk.ourplay.com.cn/account/modifypwd.php", str);
tp.i(new Runnable() {
@Override
public void run() {
if (TextUtils.isEmpty(a2)) {
b.this.f15532b.d();
return;
}
try {
JSONObject jSONObject = new JSONObject(a2);
String optString = jSONObject.optString("status");
String optString2 = jSONObject.optString("flag");
if (!TextUtils.equals(optString, "1")) {
b.this.f15532b.d();
} else if (TextUtils.equals(optString2, "1")) {
b.this.f15532b.a();
} else if (TextUtils.equals(optString2, "2")) {
b.this.f15532b.b();
} else if (TextUtils.equals(optString2, "3")) {
b.this.f15532b.c();
} else {
b.this.f15532b.d();
}
} catch (JSONException e) {
e.printStackTrace();
b.this.f15532b.d();
}
}
});
}
});
}
}
}