导航菜单

页面标题

页面副标题

XT工具箱 v3.6.15 - b.java 源代码

正在查看: XT工具箱 v3.6.15 应用的 b.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package a.a.f.c;

import a.a.f.j.f;
import android.content.Context;
import android.text.TextUtils;
import org.json.JSONObject;

public final class b implements Runnable {

    public final Context f212a;

    public final a f213b;

    public b(a aVar, Context context) {
        this.f213b = aVar;
        this.f212a = context;
    }

    @Override
    public final void run() {
        try {
            a.a.f.f.e.a aVar = new a.a.f.f.e.a();
            Context context = this.f212a;
            a.a.a.b.a.e(context);
            a.a.f.f.a a2 = aVar.a(context, "", "https://mobilegw.alipay.com/mgw.htm", true);
            if (a2 != null) {
                a aVar2 = this.f213b;
                String str = a2.f226b;
                if (!TextUtils.isEmpty(str)) {
                    try {
                        JSONObject optJSONObject = new JSONObject(str).optJSONObject("st_sdk_config");
                        aVar2.f210a = optJSONObject.optInt("timeout", 3500);
                        aVar2.f211b = optJSONObject.optString("tbreturl", "http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&").trim();
                    } catch (Throwable unused) {
                    }
                }
                a aVar3 = this.f213b;
                JSONObject jSONObject = new JSONObject();
                jSONObject.put("timeout", aVar3.a());
                jSONObject.put("tbreturl", aVar3.f211b);
                f.b(a.a.f.h.b.a().f241a, "alipay_cashier_dynamic_config", jSONObject.toString());
            }
        } catch (Throwable unused2) {
        }
    }
}