京东到家.apk(点击下载) / a.java


package com.jdjr.risk.tracker;

import com.heytap.mcssdk.constant.b;
import com.huawei.hms.framework.common.hianalytics.CrashHianalyticsData;
import com.jdjr.risk.tracker.util.CryptoUtil;
import com.jdjr.risk.tracker.util.c;
import org.json.JSONObject;

/* access modifiers changed from: package-private */
public class a implements Runnable {
    final /* synthetic */ String a;
    final /* synthetic */ String b;

    /* renamed from: c  reason: collision with root package name */
    final /* synthetic */ String f933c;
    final /* synthetic */ String d;
    final /* synthetic */ String e;
    final /* synthetic */ String f;
    final /* synthetic */ String g;
    final /* synthetic */ String h;
    final /* synthetic */ String i;
    final /* synthetic */ String j;
    final /* synthetic */ String k;

    a(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11) {
        this.a = str;
        this.b = str2;
        this.f933c = str3;
        this.d = str4;
        this.e = str5;
        this.f = str6;
        this.g = str7;
        this.h = str8;
        this.i = str9;
        this.j = str10;
        this.k = str11;
    }

    public void run() {
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("logId", this.a);
            jSONObject.put(b.e, this.b);
            jSONObject.put("sdkVersion", this.f933c);
            jSONObject.put("buildVersion", this.d);
            jSONObject.put("appVersion", this.e);
            jSONObject.put(b.k, this.f);
            jSONObject.put("trackId", this.g);
            jSONObject.put("platform", "android");
            jSONObject.put("deviceInfo", this.h);
            JSONObject jSONObject2 = new JSONObject(this.i);
            jSONObject2.put("token", this.j);
            jSONObject2.put("appVerName", this.e);
            jSONObject.put("kvs", jSONObject2.toString());
            jSONObject.put(CrashHianalyticsData.TIME, System.currentTimeMillis());
            String a2 = CryptoUtil.a(jSONObject.toString().getBytes());
            if (com.jdjr.risk.tracker.util.b.a("https://mllog.jd.com/mlog/unite/v.do", a2).equals("")) {
                c.a(a2, this.k);
            } else {
                b.b(this.k);
            }
        } catch (Throwable unused) {
        }
    }
}