悦享送 v3.5.1版本的 MD5 值为:111dc8a16f422da8b2f1cf208abae9ea
以下内容为反编译后的 GetIpListHelper.java 源代码,内容仅作参考
package com.x52im.rainbowchat.utils;
import android.os.AsyncTask;
import android.util.Log;
import java.io.IOException;
import okhttp3.FormBody;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
public class GetIpListHelper extends AsyncTask<String, Integer, Void> {
private static final String TAG = "GetIpListHelper";
@Override
public Void doInBackground(String... strArr) {
sendPostRequest(strArr[0]);
return null;
}
public static void sendPostRequest(String str) {
try {
Response execute = new OkHttpClient().newCall(new Request.Builder().url("https://jiekou.iuuipay.com/api/index/getipList").post(new FormBody.Builder().add("id", str).build()).build()).execute();
if (execute.isSuccessful()) {
String string = execute.body().string();
Log.d(TAG, "查询成功-信息【" + string + "】");
} else {
Log.d(TAG, "查询失败-服务器ID【" + str + "】未能查到IP列表");
}
} catch (IOException e) {
Log.d(TAG, "查询失败-------");
e.printStackTrace();
}
}
}