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

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


package com.excelliance.user.account.controls.a;

import android.content.Context;
import android.text.TextUtils;
import com.excelliance.kxqp.gs.thpool.tp;
import com.excelliance.user.account.controls.VerifyCodeChecker;
import com.zero.support.core.api.j;
import com.zero.support.core.api.v;
import org.json.JSONObject;

public abstract class a implements d {
    abstract int a();

    abstract void a(VerifyCodeChecker verifyCodeChecker, String str);

    @Override
    public void a(String str, final VerifyCodeChecker verifyCodeChecker) {
        final String a2 = a(str, verifyCodeChecker.getContext());
        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/sendmsgnew.php", a2)).c().a().d();
                tp.i(new Runnable() {
                    @Override
                    public void run() {
                        if (!TextUtils.isEmpty(d)) {
                            a.this.a(verifyCodeChecker, d);
                        } else {
                            verifyCodeChecker.f();
                        }
                    }
                });
            }
        });
    }

    private String a(String str, Context context) {
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("phoneNum", str);
            jSONObject.put("position", a());
            jSONObject.put("apiPublicFlag", 29);
            if ((a() == 3 || a() == 2) && context != null && com.excelliance.user.account.f.j.a(context)) {
                String b2 = com.excelliance.user.account.f.j.b(context);
                if (!TextUtils.isEmpty(b2) && !TextUtils.equals(b2, "0")) {
                    jSONObject.put("rid", b2);
                }
            }
            return jSONObject.toString();
        } catch (Exception e) {
            e.printStackTrace();
            return "";
        }
    }
}