派享便利 v1.0.3版本的 MD5 值为:1fc1776275e6607636a3a1f946b1f976
以下内容为反编译后的 cr.java 源代码,内容仅作参考
package com.loc;
import android.util.Base64;
import io.dcloud.common.adapter.util.DeviceInfo;
import io.dcloud.common.constant.AbsoluteConst;
import io.dcloud.common.util.net.NetWork;
import java.nio.charset.StandardCharsets;
public final class cr {
public static boolean a(byte[] bArr) {
String str;
if (bArr != null) {
byte[] bArr2 = null;
try {
dy dyVar = new dy();
dyVar.b.put(NetWork.CONTENT_TYPE, "application/octet-stream");
dyVar.b.put("aps_c_src", Base64.encodeToString(dy.a().getBytes(), 2));
dyVar.b.put("aps_c_key", Base64.encodeToString(dy.b().getBytes(), 2));
dyVar.d = bArr;
if (ci.a) {
str = "http://cgicol.amap.com/collection/collectData?src=baseCol&ver=v74&";
} else {
str = (ci.b ? DeviceInfo.HTTPS_PROTOCOL : DeviceInfo.HTTP_PROTOCOL) + "cgicol.amap.com/collection/collectData?src=baseCol&ver=v74&";
}
dyVar.a = str;
dz a = dm.b().a(dyVar);
if (a != null && a.a == 200) {
bArr2 = a.c;
}
if (bArr2 != null) {
return AbsoluteConst.TRUE.equals(new String(bArr2, StandardCharsets.UTF_8));
}
return false;
} catch (Exception e) {
dx.a(e);
return false;
}
}
return false;
}
}