OurPlay v5.5.9版本的 MD5 值为:d4e139798f4c2243a1145c8af5e21046
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.excelliance.kxqp.gs.ui.feedback.questions;
import android.content.Context;
import com.excelliance.kxqp.api.ApiManager;
import com.excelliance.kxqp.gs.appstore.model.ResponseData;
import com.excelliance.kxqp.gs.thpool.tp;
import com.excelliance.kxqp.gs.ui.feedback.questions.a;
import com.excelliance.kxqp.gs.ui.feedback.questions.data.QQGroupBean;
import com.excelliance.kxqp.gs.ui.feedback.questions.data.QuestionCategoryBean;
import com.excelliance.kxqp.gs.util.bd;
import com.excelliance.kxqp.gs.util.bp;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.util.List;
import retrofit2.m;
public class b implements a.InterfaceC0357a {
private Context f8957a;
private a.b f8958b;
@Override
public void initData() {
}
public b(Context context, a.b bVar) {
this.f8957a = context;
this.f8958b = bVar;
}
@Override
public void a() {
tp.f(new Runnable() {
@Override
public void run() {
ResponseData<List<QuestionCategoryBean>> d;
final boolean z = false;
final List<QuestionCategoryBean> list = null;
try {
m<ResponseData<List<QuestionCategoryBean>>> a2 = ApiManager.getInstance().a(b.this.f8957a, 5000L, 5000L, "https://gapi.ourplay.com.cn/").c().a();
if (a2.c() && (d = a2.d()) != null) {
z = true;
list = d.data;
}
} catch (Exception e) {
e.printStackTrace();
}
tp.i(new Runnable() {
@Override
public void run() {
if (b.this.f8958b != null) {
b.this.f8958b.a(z, list);
}
}
});
}
});
}
@Override
public void b() {
tp.f(new Runnable() {
@Override
public void run() {
final ResponseData responseData = (ResponseData) new Gson().a(bp.a(bd.a("http://api.ourplay.com.cn/feedback/get-qq-groups", 10000, 10000), "fuck_snsslmm_bslznw", "utf-8"), new TypeToken<ResponseData<List<QQGroupBean>>>() {
}.getType());
tp.i(new Runnable() {
@Override
public void run() {
if (b.this.f8958b != null) {
if (responseData == null || responseData.data == 0) {
b.this.f8958b.b(false, null);
} else {
b.this.f8958b.b(true, (List) responseData.data);
}
}
}
});
}
});
}
}