OurPlay v5.5.9版本的 MD5 值为:d4e139798f4c2243a1145c8af5e21046

以下内容为反编译后的 g.java 源代码,内容仅作参考


package com.excelliance.kxqp.gs.j;

import android.content.Context;
import android.text.TextUtils;
import com.excelliance.kxqp.gs.b.c;
import com.excelliance.kxqp.gs.thpool.tp;
import com.excelliance.kxqp.gs.util.bp;
import com.excelliance.kxqp.gs.util.cn;
import com.excelliance.kxqp.gs.util.t;
import com.zero.support.core.api.j;
import com.zero.support.core.api.v;
import org.json.JSONException;
import org.json.JSONObject;

public class g implements c.a {

    private Context f6539a;

    private c.b f6540b;

    @Override
    public void initData() {
    }

    public g(Context context, c.b bVar) {
        this.f6539a = context;
        this.f6540b = bVar;
    }

    public void a(final String str) {
        tp.f(new Runnable() {
            @Override
            public void run() {
                JSONObject i = cn.i(g.this.f6539a);
                try {
                    i.put("phoneNum", str);
                    i.put("position", 2);
                } catch (JSONException e) {
                    e.printStackTrace();
                }
                final String a2 = bp.a(((v) com.zero.support.core.api.a.a(v.class)).a(new j("https://sdk.ourplay.com.cn/account/sendmsgnew.php", i.toString())).c().a().d(), t.f12027a, "utf-8");
                tp.i(new Runnable() {
                    @Override
                    public void run() {
                        String str2;
                        String str3;
                        String str4 = null;
                        if (TextUtils.isEmpty(a2)) {
                            str2 = null;
                            str3 = null;
                        } else {
                            try {
                                JSONObject jSONObject = new JSONObject(a2);
                                str2 = jSONObject.optString("status");
                                try {
                                    str3 = jSONObject.optString("flag");
                                    try {
                                        str4 = jSONObject.optString("code");
                                    } catch (JSONException e2) {
                                        e = e2;
                                        e.printStackTrace();
                                        if (TextUtils.equals(str2, "1")) {
                                        }
                                    }
                                } catch (JSONException e3) {
                                    e = e3;
                                    str3 = null;
                                }
                            } catch (JSONException e4) {
                                e = e4;
                                str2 = null;
                                str3 = null;
                            }
                        }
                        if (TextUtils.equals(str2, "1")) {
                            g.this.f6540b.a(str);
                            return;
                        }
                        if (TextUtils.equals(str3, "0")) {
                            g.this.f6540b.a(str, str4);
                            return;
                        }
                        if (TextUtils.equals(str3, "1")) {
                            g.this.f6540b.c_(str);
                        } else if (TextUtils.equals(str3, "2")) {
                            g.this.f6540b.c(str);
                        } else {
                            g.this.f6540b.a(str);
                        }
                    }
                });
            }
        });
    }
}