50度灰 v5.8.2版本的 MD5 值为:9fe3d350fdc75fa1a3ec45509fa0107e
以下内容为反编译后的 d.java 源代码,内容仅作参考
package com.tencent.mm.network;
import android.app.Application;
import android.content.pm.PackageManager;
import android.text.TextUtils;
import android.util.Log;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baidu.speech.e.k;
import com.coremedia.iso.boxes.UserBox;
import com.fynnjason.utils.q;
import com.google.gson.Gson;
import com.luck.picture.lib.entity.LocalMedia;
import com.lzy.okgo.OkGo;
import com.lzy.okgo.cache.CacheMode;
import com.lzy.okgo.https.HttpsUtils;
import com.lzy.okgo.model.HttpHeaders;
import com.lzy.okgo.model.HttpParams;
import com.lzy.okgo.model.Progress;
import com.lzy.okgo.request.PostRequest;
import com.tencent.mm.adapter.VideoTagBean;
import com.tencent.mm.app.VideoApplication;
import com.tencent.mm.base.g;
import com.tencent.mm.bean.HostLoginBean;
import com.tencent.mm.bean.NetImageBean;
import com.tencent.mm.bean.PlayStatusBean;
import com.tencent.mm.bean.UpdateVideoBean;
import com.tencent.mm.bean.UploadImageBean;
import com.tencent.mm.l.h;
import com.tencent.mm.l.j;
import com.tencent.mm.ui.MoneyCenterActivity;
import com.tencent.mm.ui.fragment.findvideo.ChoiceVideoActivity;
import com.tencent.mm.uitls.g0;
import com.tencent.mm.uitls.j1;
import com.tencent.qcloud.core.http.e;
import java.io.File;
import java.net.Proxy;
import java.text.DecimalFormat;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import org.json.JSONException;
public class d {
public static final String A = "/api/home/send";
public static final String A0 = "/api/proxy/withdraw";
public static final String A1 = "/api/find/commentByReply";
public static final String A2 = "/api//book/create_like_group";
public static final String B = "/api/user/getCountry";
public static final String B0 = "/api/proxy/canWithdrawMoney";
public static final String B1 = "/api/find/myFindList";
public static final String B2 = "/api/book/list_my_like";
public static final String C = "/api/Home/Bind";
public static final String C0 = "/api/order/orderList";
public static final String C1 = "/api/find/myLook";
public static final String C2 = "/api/book/list_my_buy";
public static final String D = "/api/Home/loginByPassword";
public static final String D0 = "/api/user/coinsDetail";
public static final String D1 = "/api/find/myReply";
public static final String D2 = "/api/creator/list_with_mv";
public static final String E = "/api/user/forgetPassword";
public static final String E0 = "/api/mvList/tagByName";
public static final String E1 = "/api/club/signIn";
public static final String E2 = "/api/mvdetail/list_like_group";
public static final String F = "/api/user/verfiyPhone";
public static final String F0 = "/api/system/notice";
public static final String F1 = "/api/mine/levelInfo";
public static final String F2 = "/api/mvdetail/update_like_group";
public static final String G = "/api/user/invitation";
public static final String G0 = "/api/system/adclick";
public static final String G1 = "/api/mine/profitCenter";
public static final String G2 = "/api//mvdetail/create_like_group";
public static final String H = "/api/user/exchangeCode";
public static final String H0 = "/api/system/domainFeed";
public static final String H1 = "/api/mine/mv";
public static final String H2 = "/api/mvlist/userLike";
public static final String I = "/api/User/updatePwd";
public static final String I0 = "/api/MvList/small";
public static final String I1 = "/api/mine/profitDetail";
public static final String I2 = "/api/element/list_element";
public static final String J = "/api/proxy/index";
public static final String J0 = "/api/MvList/smallVideoByTag";
public static final String J1 = "/api/proxy/applyNumber";
public static final String J2 = "/api/element/list_more";
public static final String K = "/api/user/followed";
public static final String K0 = "/api/topic/feature";
public static final String K1 = "/api/proxy/apply";
public static final String K2 = "/api/girl/list_like_group";
public static final String L = "/api/user/fans";
public static final String L0 = "/api/topic/small";
public static final String L1 = "/api/MvList/featuredAv";
public static final String L2 = "/api/girl/search";
public static final String M = "/api/user/getOtherCenterPage";
public static final String M0 = "/api/MvDetail/reportType";
public static final String M1 = "/api/pindan/join";
public static final String M2 = "/api/girl/list_filter";
public static final String N = "/api/Creator/featured";
public static final String N0 = "/api/find/reportType";
public static final String N1 = "/api/pindan/getMember";
public static final String N2 = "/api/girl/list_my_buy";
public static final String O = "/api/Creator/small";
public static final String O0 = "/api/MvDetail/report";
public static final String O1 = "/api/pindan/myJson";
public static final String O2 = "/api/girl/list_my_like";
public static final String P = "/api/mvDetail/like";
public static final String P0 = "api/find/report";
public static final String P1 = "/api/pindan/getByCode";
public static final String P2 = "/api/girl/detail";
public static final String Q = "/api/mvDetail/unlike";
public static final String Q0 = "/api/wei/report";
public static final String Q1 = "/api/RankList/getNewerRank";
public static final String Q2 = "/api/girl/list_comment";
public static final String R = "/api/mvComment/like";
public static final String R0 = "/api/compilation/own";
public static final String R1 = "/api/club/newestRank";
public static final String R2 = "/api/girl/list_area";
public static final String S = "/api/order/giftList";
public static final String S0 = "/api/compilation/create";
public static final String S1 = "/api/home/appcenter";
public static final String S2 = "/api/girl/toggle_like";
public static final String T = "/api/user/rewardHer";
public static final String T0 = "/api/compilation/mvlist";
public static final String T1 = "/api/system/appclick";
public static final String T2 = "/api//girl/buy";
public static final String U = "/api/user/watchingMvByCoins";
public static final String U0 = "/api/compilation/update";
public static final String U1 = "/api/wei/create";
public static final String U2 = "/api/girl/create_comment";
public static final String V = "/api/order/goodsList";
public static final String V0 = "/api/compilation/delmv";
public static final String V1 = "/api/wei/list";
public static final String V2 = "/api/girl/page_join_us";
public static final String W = "/api/order/createPaying";
public static final String W0 = "/api/compilation/del";
public static final String W1 = "/api/wei/herTie";
public static final String W2 = "/api/community/my_posts";
public static final String X = "/api/game/pay";
public static final String X0 = "/api/club/create";
public static final String X1 = "/api/wei/detail";
public static final String X2 = "/api/community/list_post";
public static final String Y = "/api/user/canWithdrawCoins";
public static final String Y0 = "/api/club/update";
public static final String Y1 = "/api/wei/commentList";
public static final String Y2 = "/api/community/post_detail";
public static final String Z = "/api/user/withdrawCoins";
public static final String Z0 = "/api/club/userRule";
public static final String Z1 = "/api/wei/comment";
public static final String Z2 = "/api/community/post_comments";
private static final String f8178a = "mod";
public static final String a0 = "/api/taggroup/list";
public static final String a1 = "/api/club/info";
public static final String a2 = "/api/wei/commentReplyList";
public static final String a3 = "/api/community/comment";
private static final String f8179b = "code";
public static final String b0 = "/api/creator/apply";
public static final String b1 = "/api/club/edit";
public static final String b2 = "/api/wei/praiseWei";
public static final String b3 = "/api/community/reply_comment";
public static final int f8180c = 12;
public static final String c0 = "/api/Produce/center";
public static final String c1 = "/api/club/join";
public static final String c2 = "/api/wei/praiseComment";
public static final String c3 = "/api/community/unlock";
public static final int f8181d = 50;
public static final String d0 = "/api/MvSearch/hotWord";
public static final String d1 = "/api/club/clubVideos";
public static final String d2 = "/api/wei/myTie";
public static final String d3 = "/api/community/like";
public static final int f8182e = 20;
public static final String e0 = "/api/MvSearch/getStyle";
public static final String e1 = "/api/compilation/her";
public static final String e2 = "/api/creator/preCheck";
public static final String e3 = "/api/community/like_comment";
public static final int f8183f = 18;
public static final String f0 = "/api/MvSearch/singleStyle";
public static final String f1 = "/api/creator/setTop";
public static final String f2 = "/api/system/getad";
public static final String f3 = "/api/community/post";
public static final int f8184g = 40;
public static final String g0 = "/api/MvList/style";
public static final String g1 = "/api/club/addVideo";
public static final String g2 = "/api/system/click_report";
public static final String g3 = "/api/community/search";
public static String h = null;
public static final String h0 = "/api/MvSearch/video";
public static final String h1 = "/api/club/clubInfo";
public static final String h2 = "/api/Taggroup/hotUp";
public static final String h3 = "/api/ranklist/getCreatorRank";
public static final String i = "index";
public static final String i0 = "/api/MvSearch/searchStyle";
public static final String i1 = "/api/club/items";
public static final String i2 = "/api/user/bindTagGroup";
public static final String i3 = "/api/creator/rankRec";
public static final String j = "getLiveToken";
public static final String j0 = "/api/system/helpFeedbackList";
public static final String j1 = "/api/Produce/check";
public static final String j2 = "/api/wgif/create";
public static final String j3 = "e79465cfbb39cktbslqbuekd3b066a6e";
private static volatile d k = null;
public static final String k0 = "/api/Produce/upShelves";
public static final String k1 = "/api/find/create";
public static final String k2 = "/api/wgif/list";
public static final String k3 = "/api/user/myMvTicket";
public static final String l = "/api/Home/Token";
public static final String l0 = "/api/Produce/downShelves";
public static final String l1 = "/api/find/";
public static final String l2 = "/api/wgif/detail";
public static final String l3 = "/api/user/checkinTicket";
public static final String m = "/api/home/getOpenAdsAndVersion";
public static final String m0 = "/api/Produce/delete";
public static final String m1 = "/api/find/list";
public static final String m2 = "/api/wgif/praiseWgif";
public static final String n = "/api/tab/listv1";
public static final String n0 = "/api/MvSearch/searchCreator";
public static final String n1 = "/api/find/detail";
public static final String n2 = "/api/wgif/myGif";
public static final String o = "/api/MvList/smallByTag";
public static final String o0 = "/api/system/feedback";
public static final String o1 = "/api/find/replyByFind";
public static final String o2 = "/api/wgif/log_down";
public static final String p = "/api/user/following";
public static final String p0 = "/api/system/feeding";
public static final String p1 = "/api/find/commentReply";
public static final String p2 = "/api/home/loginByPassword";
public static final String f8185q = "/api/MvDetail/detail";
public static final String q0 = "/api/system/getMsg";
public static final String q1 = "/api/find/reply";
public static final String q2 = "/api/home/register";
public static final String r = "/api/mvComment/comment";
public static final String r0 = "/api/mvList/userLike";
public static final String r1 = "/api/find/rank";
public static final String r2 = "/api/book/search";
public static final String s = "/api/mvComment/reply";
public static final String s0 = "/api/User/updateInfo";
public static final String s1 = "/api/find/appendCoins";
public static final String s2 = "/api//book/list_filter";
public static final String t = "/api/mvComment/pushComment";
public static final String t0 = "/api/user/getMyGoldMV";
public static final String t1 = "/api/find/appendDetail";
public static final String t2 = "/api//book/detail";
public static final String u = "/api/mvComment/pushReply";
public static final String u0 = "/api/creator/theyMakeMoney";
public static final String u1 = "/api/find/wantLook";
public static final String u2 = "/api//book/list_episode";
public static final String v = "/api/Produce/createFeatured";
public static final String v0 = "/api/system/helpDetail";
public static final String v1 = "/api/find/checkFind";
public static final String v2 = "/api/book/read";
public static final String w = "/api/produce/r2upload_info";
public static final String w0 = "/api/user/share";
public static final String w1 = "/api/find/praiseReply";
public static final String w2 = "/api//book/buy";
public static final String x = "/api/Produce/createSmall";
public static final String x0 = "/api/user/inviteList";
public static final String x1 = "/api/find/reward";
public static final String x2 = "/api//book/toggle_like";
public static final String y = "/api/Produce/tagItem";
public static final String y0 = "/api/user/saveShareCode";
public static final String y1 = "/api/find/myAccept";
public static final String y2 = "/api//book/list_like_group";
public static final String z = "/api/user/userinfo";
public static final String z0 = "/api/mvDetail/addLog";
public static final String z1 = "/api/find/praiseCommentReply";
public static final String z2 = "/api//book/update_like_group";
private String p3;
private String q3;
private String r3;
String t3;
private String m3 = "NetManager_Cache_";
private String n3 = "http://api.tbrapi.org:8080/api.php";
private String o3 = "https//:upload.ycomesc.com/imgUpload.php";
private boolean s3 = false;
private d() {
}
private JSONObject B2(JSONObject object) {
try {
return JSON.parseObject(com.szcx.lib.encrypt.c.i().n(object.toJSONString()).toString());
} catch (JSONException e4) {
e4.printStackTrace();
return null;
}
}
private String D0() {
if (TextUtils.isEmpty(this.r3)) {
this.r3 = K0();
}
return this.r3;
}
public static d G1() {
if (k == null) {
synchronized (d.class) {
if (k == null) {
k = new d();
}
}
}
return k;
}
private JSONObject H1() {
JSONObject jSONObject = new JSONObject();
jSONObject.put("system_oauth_id", (Object) h3());
jSONObject.put("system_oauth_type", (Object) "android");
jSONObject.put("system_app_type", (Object) "local");
jSONObject.put("system_token", (Object) j1.k().w());
jSONObject.put("system_version", (Object) i3());
jSONObject.put("bundle_id", (Object) o2());
return jSONObject;
}
private String K0() {
try {
return VideoApplication.b().getPackageManager().getApplicationInfo(VideoApplication.b().getPackageName(), 128).metaData.getString("UMENG_CHANNEL");
} catch (PackageManager.NameNotFoundException unused) {
return com.tencent.mm.b.f7378d;
}
}
private String L0() {
try {
return VideoApplication.b().getPackageManager().getApplicationInfo(VideoApplication.b().getPackageName(), 128).metaData.getString("UMENG_CHANNEL_KEY");
} catch (PackageManager.NameNotFoundException unused) {
return "";
}
}
private String x2(JSONObject object) {
try {
return com.szcx.lib.encrypt.c.i().k(object.toJSONString());
} catch (JSONException e4) {
e4.printStackTrace();
return null;
}
}
private String y2(String key, JSONObject object) {
try {
return com.szcx.lib.encrypt.c.i().m(key, object.toJSONString());
} catch (JSONException e4) {
e4.printStackTrace();
return null;
}
}
public HttpParams A() {
HttpParams D12 = D1();
D12.put(f8178a, "search", new boolean[0]);
D12.put(f8179b, "destroy", new boolean[0]);
return D12;
}
public HttpParams A0(String id, int page, int limit, String type) {
HttpParams D12 = D1();
D12.put(f8178a, "series", new boolean[0]);
D12.put(f8179b, "detail", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("id", id, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams A1() {
return D1();
}
public JSONObject A2(JSONObject params) {
params.put("system_build_aff", (Object) L0());
params.put("system_build_id", (Object) D0());
return JSON.parseObject(x2(params));
}
public HttpParams A3(String withdraw_account, String withdraw_name, String withdraw_amount) {
HttpParams D12 = D1();
D12.put("withdraw_account", withdraw_account, new boolean[0]);
D12.put("withdraw_name", withdraw_name, new boolean[0]);
D12.put("withdraw_amount", withdraw_amount, new boolean[0]);
return D12;
}
public HttpParams A4(String code) {
HttpParams D12 = D1();
D12.put(f8179b, code, new boolean[0]);
return D12;
}
public HttpParams A5(String id, String question) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "feedback", new boolean[0]);
if (!TextUtils.isEmpty(id)) {
D12.put("id", id, new boolean[0]);
}
D12.put("question", question, new boolean[0]);
return D12;
}
public HttpParams B(String id) {
HttpParams D12 = D1();
D12.put(f8178a, "actor", new boolean[0]);
D12.put(f8179b, "collection", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams B0(String type, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, type, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams B1(int id, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "activity", new boolean[0]);
D12.put(f8179b, "detail", new boolean[0]);
D12.put("activity_id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams B3(int id) {
HttpParams D12 = D1();
D12.put("taggroup_id", id, new boolean[0]);
return D12;
}
public HttpParams B4(String code) {
HttpParams D12 = D1();
D12.put("aff_code", code, new boolean[0]);
return D12;
}
public HttpParams B5(String id, String question, List<UploadImageBean> files, String feedback) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "feedback", new boolean[0]);
if (!TextUtils.isEmpty(id)) {
D12.put("id", id, new boolean[0]);
}
D12.put("question", question, new boolean[0]);
if (!TextUtils.isEmpty(feedback)) {
D12.put("type", feedback, new boolean[0]);
}
return D12;
}
public HttpParams C(String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public String C0() {
return this.n3;
}
public HttpParams C1() {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "hot", new boolean[0]);
return D12;
}
public String C2(String key) {
return C0() + key;
}
public HttpParams C3(String id, String content, List<UploadImageBean> image) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("content", content, new boolean[0]);
if (image != null && image.size() > 0) {
D12.put("image_json", new Gson().toJson(image), new boolean[0]);
}
return D12;
}
public HttpParams C4() {
return D1();
}
public HttpParams C5(String id) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "liking", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams D(String id, String sort) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("sort", sort, new boolean[0]);
return D12;
}
public HttpParams D1() {
HttpParams httpParams = new HttpParams();
httpParams.put("system_oauth_id", h3(), new boolean[0]);
httpParams.put("system_oauth_type", "android", new boolean[0]);
httpParams.put("system_app_type", "local", new boolean[0]);
httpParams.put("system_token", j1.k().w(), new boolean[0]);
httpParams.put("system_version", i3(), new boolean[0]);
httpParams.put("app_status", h, new boolean[0]);
httpParams.put("new_player", "fx", new boolean[0]);
httpParams.put("system_build_id", D0(), new boolean[0]);
httpParams.put("system_build_aff", L0(), new boolean[0]);
httpParams.put("bundle_id", o2(), new boolean[0]);
httpParams.put("system_iid", j1.k().v(), new boolean[0]);
return httpParams;
}
public <T> void D2(String url, g<T> callback) {
OkGo.get(url).execute(callback);
}
public HttpParams D3(int page, String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams D4(String code) {
HttpParams D12 = D1();
D12.put(f8179b, code, new boolean[0]);
return D12;
}
public HttpParams D5(int find_id) {
HttpParams D12 = D1();
D12.put("find_id", find_id, new boolean[0]);
return D12;
}
public HttpParams E(String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public String E0(String cacheValue) {
return this.m3 + cacheValue;
}
public HttpParams E1(int page, String uuid) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams E2() {
return D1();
}
public HttpParams E3(String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams E4(String file) {
StringBuilder sb = new StringBuilder("id=");
String X3 = X();
sb.append(X3);
sb.append("&position=im");
sb.append(com.tencent.mm.l.b.f().j());
String y3 = com.szcx.lib.encrypt.c.i().y(sb.toString());
HttpParams httpParams = new HttpParams();
httpParams.put("id", X3, new boolean[0]);
httpParams.put(com.luck.picture.lib.config.a.f4226f, "im", new boolean[0]);
httpParams.put("cover", new File(file));
httpParams.put("sign", y3, new boolean[0]);
return httpParams;
}
public HttpParams E5(String id, int type) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "watchAvCount", new boolean[0]);
if (!TextUtils.isEmpty(id)) {
D12.put("id", id, new boolean[0]);
}
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams F(String id, String group_id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("group_id", group_id, new boolean[0]);
return D12;
}
public HttpParams F0(String withdraw_account, String withdraw_name, String withdraw_amount) {
HttpParams D12 = D1();
D12.put("withdraw_account", withdraw_account, new boolean[0]);
D12.put("withdraw_name", withdraw_name, new boolean[0]);
D12.put("withdraw_amount", withdraw_amount, new boolean[0]);
return D12;
}
public String F1() {
if (TextUtils.isEmpty(com.tencent.mm.l.b.f().b().config.img_upload_url)) {
return this.o3;
}
return com.tencent.mm.l.b.f().b().config.img_upload_url;
}
public HttpParams F2(int id, String group_code) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("group_code", group_code, new boolean[0]);
return D12;
}
public HttpParams F3(int page, String sort, String city) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("sort", sort, new boolean[0]);
D12.put("city", city, new boolean[0]);
return D12;
}
public HttpParams F4(int mv_id, int commentID, String comment) {
HttpParams D12 = D1();
D12.put("mv_id", mv_id, new boolean[0]);
D12.put("commentId", commentID, new boolean[0]);
D12.put("comment", comment, new boolean[0]);
return D12;
}
public HttpParams G(String group_id, int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("group_id", group_id, new boolean[0]);
return D12;
}
public HttpParams G0(String withdraw_account, String withdraw_name, String withdraw_amount) {
HttpParams D12 = D1();
D12.put("bankcard", withdraw_account, new boolean[0]);
D12.put("name", withdraw_name, new boolean[0]);
D12.put("amount", withdraw_amount, new boolean[0]);
return D12;
}
public HttpParams G2(int page, int limit) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams G3(int page, String sort) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("kwy", sort, new boolean[0]);
return D12;
}
public HttpParams G4(String title, String content, String category, List<UploadImageBean> files) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "add", new boolean[0]);
D12.put(com.alipay.sdk.widget.d.O, title, new boolean[0]);
D12.put("content", content, new boolean[0]);
D12.put("category", category, new boolean[0]);
if (files != null && files.size() != 0) {
D12.put("medias", JSON.toJSONString(files), new boolean[0]);
}
return D12;
}
public HttpParams H(int page, String sort, String categories, String type) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("sort", sort, new boolean[0]);
D12.put("categories", categories, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams H0() {
return D1();
}
public HttpParams H2(String code) {
HttpParams D12 = D1();
D12.put(f8179b, code, new boolean[0]);
return D12;
}
public HttpParams H3(int mv_id, String gkey) {
HttpParams D12 = D1();
D12.put("mv_id", mv_id, new boolean[0]);
D12.put("gkey", gkey, new boolean[0]);
return D12;
}
public HttpParams H4(String content, List<UploadImageBean> files) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "add", new boolean[0]);
D12.put("content", content, new boolean[0]);
if (files != null && files.size() != 0) {
D12.put("medias", JSON.toJSONString(files), new boolean[0]);
}
return D12;
}
public HttpParams I(String id, String episode) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("episode", episode, new boolean[0]);
return D12;
}
public HttpParams I0(String type) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "getCategories", new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams I1(String type, String key, int page, int size) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
D12.put("kwy", key, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams I2(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "actor", new boolean[0]);
D12.put(f8179b, i, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams I3(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "actor", new boolean[0]);
D12.put(f8179b, "collected", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams I4(int communityId, String content, List<UploadImageBean> files) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "add_comment", new boolean[0]);
D12.put("comment", content, new boolean[0]);
D12.put("news_id", communityId, new boolean[0]);
if (files != null && files.size() != 0) {
D12.put("medias", JSON.toJSONString(files), new boolean[0]);
}
return D12;
}
public HttpParams J(int page, String sort) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("kwy", sort, new boolean[0]);
return D12;
}
public HttpParams J0() {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "getCategoriesList", new boolean[0]);
D12.put("type", ChoiceVideoActivity.J, new boolean[0]);
return D12;
}
public HttpParams J1(String type, int page, int limit) {
HttpParams D12 = D1();
if (!TextUtils.isEmpty(type)) {
D12.put("type", type, new boolean[0]);
}
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams J2(String keyword, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "search", new boolean[0]);
D12.put("type", 3, new boolean[0]);
D12.put("key", keyword, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams J3(String phone, String mobile_prefix) {
HttpParams D12 = D1();
D12.put("phone", phone, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams J4(PlayStatusBean bean) {
HttpParams D12 = D1();
String format = new DecimalFormat("0.00").format(bean.watchedTime / 1000.0f);
D12.put("owner_uuid", bean.userUUid, new boolean[0]);
D12.put("mv_id", bean.videoID, new boolean[0]);
D12.put("is_free", bean.needCoin, new boolean[0]);
D12.put("duration", format, new boolean[0]);
JSONObject jSONObject = new JSONObject();
jSONObject.put("uid", (Object) bean.uid);
jSONObject.put("videoID", (Object) Integer.valueOf(bean.videoID));
jSONObject.put("needCoin", (Object) Integer.valueOf(bean.needCoin));
jSONObject.put("videoType", (Object) Integer.valueOf(bean.videoType));
jSONObject.put("replys", (Object) Integer.valueOf(bean.replys));
jSONObject.put("likes", (Object) Integer.valueOf(bean.likes));
jSONObject.put("watchedTime", (Object) Integer.valueOf(bean.watchedTime));
jSONObject.put("duration", (Object) format);
jSONObject.put("endTime", (Object) Integer.valueOf(bean.endTime));
jSONObject.put("via", (Object) "android");
D12.put("ext", jSONObject.toJSONString(), new boolean[0]);
D12.put("system_oauth_id", h3(), new boolean[0]);
D12.put("system_oauth_type", "android", new boolean[0]);
D12.put("system_app_type", "local", new boolean[0]);
D12.put("system_token", j1.k().w(), new boolean[0]);
D12.put("system_version", i3(), new boolean[0]);
D12.put("app_status", h, new boolean[0]);
return D12;
}
public HttpParams K(String title, String group_id) {
HttpParams D12 = D1();
D12.put("group_id", group_id, new boolean[0]);
D12.put(com.alipay.sdk.widget.d.O, title, new boolean[0]);
return D12;
}
public HttpParams K1(String uuid, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "likes", new boolean[0]);
if (!TextUtils.isEmpty(uuid)) {
D12.put(UserBox.TYPE, uuid, new boolean[0]);
}
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams K2(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "collecting", new boolean[0]);
D12.put("mh_id", id, new boolean[0]);
return D12;
}
public HttpParams K3() {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "helpFeedback", new boolean[0]);
return D12;
}
public HttpParams K4(String id, String line) {
HttpParams D12 = D1();
D12.put("find_reply_id", id, new boolean[0]);
D12.put("content", line, new boolean[0]);
return D12;
}
public HttpParams L(int id, int lastId, int page, int size) {
HttpParams D12 = D1();
D12.put("reply_id", id, new boolean[0]);
D12.put("last_id", lastId, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
return D12;
}
public HttpParams L1(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "limitedFree", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams L2(int page, int limit, String id) {
HttpParams D12 = D1();
D12.put(f8178a, "series", new boolean[0]);
D12.put(f8179b, "detail", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams L3(String videoId) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "hide", new boolean[0]);
D12.put("id", videoId, new boolean[0]);
return D12;
}
public HttpParams L4(int reply_id, String comment, String to_uuid) {
HttpParams D12 = D1();
D12.put("reply_id", reply_id, new boolean[0]);
D12.put("comment", comment, new boolean[0]);
D12.put("to_uuid", to_uuid, new boolean[0]);
return D12;
}
public HttpParams M(String type, int id) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "liking", new boolean[0]);
D12.put("type", type, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams M0(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "message", new boolean[0]);
D12.put(f8179b, "msgLists", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams M1(int page, int limit, int type) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
if (type >= 0) {
D12.put("type", type, new boolean[0]);
}
return D12;
}
public HttpParams M2(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "list", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public void M3(Application application) {
com.szcx.lib.encrypt.c.i().q("BwcnBzRjN2U/MmZhYjRmND4xPjI+NWQwZWU0YmI2MWQ3YjAzKw8cEywsIS4BIg==", "81d7beac44a86f4337f534ec93328370");
OkHttpClient.Builder builder = new OkHttpClient.Builder();
TimeUnit timeUnit = TimeUnit.SECONDS;
builder.readTimeout(5L, timeUnit);
builder.writeTimeout(5L, timeUnit);
builder.connectTimeout(15L, timeUnit);
builder.proxy(Proxy.NO_PROXY);
HttpHeaders httpHeaders = new HttpHeaders();
httpHeaders.put("Content-Type", e.a.f10695b);
HttpsUtils.SSLParams sslSocketFactory = HttpsUtils.getSslSocketFactory();
builder.sslSocketFactory(sslSocketFactory.sSLSocketFactory, sslSocketFactory.trustManager);
OkGo.getInstance().init(application).setOkHttpClient(builder.build()).setCacheMode(CacheMode.NO_CACHE).setCacheTime(-1L).setRetryCount(3).addCommonHeaders(httpHeaders);
}
public HttpParams M4(String id, String line) {
HttpParams D12 = D1();
D12.put("mv_id", id, new boolean[0]);
D12.put("content", line, new boolean[0]);
return D12;
}
public HttpParams N(UploadImageBean file) {
long currentTimeMillis = System.currentTimeMillis();
com.szcx.lib.encrypt.c i4 = com.szcx.lib.encrypt.c.i();
String j4 = i4.j(currentTimeMillis + h.c().n());
HttpParams httpParams = new HttpParams();
httpParams.put(UserBox.TYPE, h3(), new boolean[0]);
httpParams.put(c.a.b.j.c.f339e, currentTimeMillis, new boolean[0]);
httpParams.put("video", new File(file.imageLocalUrl));
httpParams.put("sign", j4, new boolean[0]);
return httpParams;
}
public HttpParams N0(String uuid, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "message", new boolean[0]);
D12.put(f8179b, "getChatLists", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams N1(String id) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "feedbackInfo", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams N2(String mh_id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "series", new boolean[0]);
D12.put("id", mh_id, new boolean[0]);
return D12;
}
public HttpParams N3(String aff, int type) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "exchange", new boolean[0]);
D12.put("exchangeCode", aff, new boolean[0]);
if (type > 0) {
D12.put("type", type, new boolean[0]);
}
return D12;
}
public HttpParams N4(String playData, String time) {
HttpParams D12 = D1();
D12.put("items", playData, new boolean[0]);
D12.put(c.a.b.j.c.f339e, time, new boolean[0]);
return D12;
}
public HttpParams O(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "complain", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams O0(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "user_news_list", new boolean[0]);
D12.put("list_type", "collect", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams O1(int is_praise, int page) {
HttpParams D12 = D1();
D12.put("is_praise", is_praise, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams O2(String mh_id, String series_id, String type) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "payment", new boolean[0]);
D12.put("mh_id", mh_id, new boolean[0]);
if (!TextUtils.isEmpty(series_id)) {
D12.put("series_id", series_id, new boolean[0]);
}
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams O3(String aff) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "invitation", new boolean[0]);
D12.put("aff", aff, new boolean[0]);
return D12;
}
public HttpParams O4(int mv_id, String comment, int cid) {
HttpParams D12 = D1();
D12.put("post_id", mv_id, new boolean[0]);
D12.put("comment", comment, new boolean[0]);
if (cid > 0) {
D12.put("cid", cid, new boolean[0]);
}
return D12;
}
public HttpParams P(List<Integer> ids, int id) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "news_complain", new boolean[0]);
D12.put("target_id", id, new boolean[0]);
D12.put("reason", ids.get(0).intValue(), new boolean[0]);
return D12;
}
public HttpParams P0(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "collected", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams P1() {
HttpParams D12 = D1();
D12.put(f8178a, "proxy", new boolean[0]);
D12.put(f8179b, "userMoney", new boolean[0]);
return D12;
}
public HttpParams P2(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "liking", new boolean[0]);
D12.put("mh_id", id, new boolean[0]);
return D12;
}
public HttpParams P3(String aff) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "exchange", new boolean[0]);
D12.put("exchangeCode", aff, new boolean[0]);
return D12;
}
public HttpParams P4(int mv_id, String comment, int cid) {
HttpParams D12 = D1();
D12.put("wei_id", mv_id, new boolean[0]);
D12.put("comment", comment, new boolean[0]);
if (cid > 0) {
D12.put("cid", cid, new boolean[0]);
}
return D12;
}
public HttpParams Q(String uuid, String content) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "complainFriend", new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
D12.put("reason", content, new boolean[0]);
return D12;
}
public HttpParams Q0(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "spendList", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("type", "mh", new boolean[0]);
return D12;
}
public HttpParams Q1(int type, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "coinsDetail", new boolean[0]);
D12.put("page", page, new boolean[0]);
if (type > 0) {
D12.put("type", type, new boolean[0]);
}
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams Q2() {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "share", new boolean[0]);
return D12;
}
public HttpParams Q3(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "watching", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams Q4(String id, String line) {
HttpParams D12 = D1();
D12.put("wei_id", id, new boolean[0]);
D12.put("content", line, new boolean[0]);
return D12;
}
public HttpParams R(String title, String image, String ids) {
HttpParams D12 = D1();
D12.put("image", image, new boolean[0]);
D12.put(com.alipay.sdk.widget.d.O, title, new boolean[0]);
D12.put("mv_ids", ids, new boolean[0]);
return D12;
}
public HttpParams R0(int id, int lastId) {
HttpParams D12 = D1();
D12.put("mv_id", id, new boolean[0]);
D12.put("commentId", lastId, new boolean[0]);
return D12;
}
public HttpParams R1(String type, String desc, int page, int limit) {
HttpParams D12 = D1();
D12.put("sort", type, new boolean[0]);
D12.put("sort_type", desc, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams R2(int type, int page) {
HttpParams D12 = D1();
if (type != 0) {
D12.put("mv_type", type, new boolean[0]);
}
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams R3(String id) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "collecting", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams R4(String phone, int type, String mobile_prefix) {
HttpParams D12 = D1();
D12.put("phone", phone, new boolean[0]);
D12.put("type", type, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams S(String title, String notice, String month, String jika, String year) {
HttpParams D12 = D1();
D12.put("name", title, new boolean[0]);
D12.put("notice", notice, new boolean[0]);
D12.put("month", month, new boolean[0]);
D12.put("quarter", jika, new boolean[0]);
D12.put("year", year, new boolean[0]);
return D12;
}
public HttpParams S0(int page, int limit, int comment_id) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "comment_detail", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("comment_id", comment_id, new boolean[0]);
return D12;
}
public HttpParams S1(int page, int limit, Map<String, String> allCheck, String comicType) {
HttpParams D12 = D1();
D12.put(f8178a, "search", new boolean[0]);
D12.put(f8179b, comicType, new boolean[0]);
if (allCheck != null && allCheck.size() > 0) {
for (Map.Entry<String, String> entry : allCheck.entrySet()) {
D12.put(entry.getKey(), entry.getValue(), new boolean[0]);
}
}
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams S2(String tag, int page, int limit) {
HttpParams D12 = D1();
D12.put(Progress.TAG, tag, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public boolean S3() {
return this.s3;
}
public HttpParams S4(String phone, int type, String mobile_prefix, String code) {
HttpParams D12 = D1();
D12.put("phone", phone, new boolean[0]);
D12.put("type", type, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
D12.put("verify_code", code, new boolean[0]);
return D12;
}
public HttpParams T(UpdateVideoBean videoBean) {
HttpParams D12 = D1();
JSONObject jSONObject = new JSONObject();
jSONObject.put(com.alipay.sdk.widget.d.O, (Object) videoBean.title);
jSONObject.put("source", (Object) videoBean.netUrl);
int i4 = videoBean.coins;
if (i4 > 0) {
jSONObject.put("amount", (Object) Integer.valueOf(i4));
}
int i5 = videoBean.time;
if (i5 > 0) {
jSONObject.put("duration", (Object) Integer.valueOf(i5));
}
D12.put("mv", jSONObject.toJSONString(), new boolean[0]);
JSONObject jSONObject2 = new JSONObject();
jSONObject2.put("url", (Object) videoBean.thumbUrl);
jSONObject2.put("width", (Object) Integer.valueOf(videoBean.width));
jSONObject2.put("height", (Object) Integer.valueOf(videoBean.hight));
D12.put("cover", jSONObject2.toJSONString(), new boolean[0]);
D12.put("toClub", videoBean.isFanGroup ? 1 : 0, new boolean[0]);
List<VideoTagBean> list = videoBean.allTags;
if (list != null && list.size() > 0) {
JSONArray jSONArray = new JSONArray();
StringBuffer stringBuffer = new StringBuffer();
int i6 = 0;
int i7 = 0;
for (VideoTagBean videoTagBean : videoBean.allTags) {
if (videoTagBean.isEdit) {
stringBuffer.append(videoTagBean.name);
stringBuffer.append(",");
i7++;
} else {
jSONArray.add(Integer.valueOf(videoTagBean.id));
i6++;
}
}
if (i6 > 0) {
D12.put("tags", jSONArray.toJSONString(), new boolean[0]);
}
if (i7 > 0) {
D12.put("tagText", stringBuffer.toString(), new boolean[0]);
}
}
return D12;
}
public HttpParams T0(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "my_comment", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams T1(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "message", new boolean[0]);
D12.put(f8179b, "msgindex", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams T2(int id, int page, int cid, int lastId) {
HttpParams D12 = D1();
D12.put("wei_id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("cid", cid, new boolean[0]);
D12.put("commentId", lastId, new boolean[0]);
return D12;
}
public HttpParams T3(int id, int size, int page, String type) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
D12.put("orderBy", type, new boolean[0]);
return D12;
}
public HttpParams T4(int mv_id, String comment) {
HttpParams D12 = D1();
D12.put("mv_id", mv_id, new boolean[0]);
D12.put("comment", comment, new boolean[0]);
return D12;
}
public JSONObject U(String title, List<String> image, int coins) {
JSONObject H12 = H1();
if (image != null && image.size() > 0) {
H12.put("images", (Object) image);
}
H12.put(com.alipay.sdk.widget.d.O, (Object) title);
H12.put("coins", (Object) Integer.valueOf(coins));
return H12;
}
public HttpParams U0(String id, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "comments", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("id", id, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams U1(String tag, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "mlist", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
if (!TextUtils.isEmpty(tag)) {
D12.put(Progress.TAG, tag, new boolean[0]);
}
return D12;
}
public HttpParams U2(int id) {
HttpParams D12 = D1();
D12.put("wei_id", id, new boolean[0]);
return D12;
}
public HttpParams U3(int commentId) {
HttpParams D12 = D1();
D12.put("commentId", commentId, new boolean[0]);
return D12;
}
public HttpParams U4(String keywords, int limit, int page, int type) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "search", new boolean[0]);
D12.put("key", keywords, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams V(String title, int id, int coins) {
HttpParams D12 = D1();
D12.put(com.alipay.sdk.widget.d.O, title, new boolean[0]);
D12.put("coins", coins, new boolean[0]);
D12.put("vid", id, new boolean[0]);
return D12;
}
public HttpParams V0(String mod, String code) {
HttpParams D12 = D1();
D12.put(f8178a, mod, new boolean[0]);
D12.put(f8179b, code, new boolean[0]);
return D12;
}
public HttpParams V1(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "collected", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams V2(int id, int page, int last_id) {
HttpParams D12 = D1();
D12.put("wei_id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
if (last_id > 0) {
D12.put("last_id", last_id, new boolean[0]);
}
return D12;
}
public HttpParams V3(int reply_id, String type) {
HttpParams D12 = D1();
D12.put("reply_id", reply_id, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams V4(String keywords) {
HttpParams D12 = D1();
D12.put("keyword", keywords, new boolean[0]);
return D12;
}
public JSONObject W(String title, List<NetImageBean> image, int coins) {
JSONObject H12 = H1();
if (image != null && image.size() > 0) {
H12.put("gif", (Object) image);
}
H12.put(com.alipay.sdk.widget.d.O, (Object) title);
H12.put("vid", (Object) Integer.valueOf(coins));
return H12;
}
public HttpParams W0(int id, int page, int size) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams W1(int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams W2() {
HttpParams D12 = D1();
D12.put(f8178a, "task", new boolean[0]);
D12.put(f8179b, "signRule", new boolean[0]);
return D12;
}
public HttpParams W3(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams W4(String keywords, int limit, int page) {
HttpParams D12 = D1();
D12.put("keyword", keywords, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("size", limit, new boolean[0]);
return D12;
}
public String X() {
return "tbr_" + System.currentTimeMillis() + "_" + ((int) (((Math.random() * 9.0d) + 1.0d) * 1000.0d));
}
public HttpParams X0(int page, int size, boolean isNew) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
D12.put("sort", isNew ? "new" : "hot", new boolean[0]);
return D12;
}
public HttpParams X1() {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "grade", new boolean[0]);
return D12;
}
public HttpParams X2() {
HttpParams D12 = D1();
D12.put(f8178a, "system", new boolean[0]);
D12.put(f8179b, "notice", new boolean[0]);
return D12;
}
public HttpParams X3(int id, boolean isLike) {
HttpParams D12 = D1();
D12.put("wei_id", id, new boolean[0]);
D12.put("type", isLike ? j.f7934b : j.f7935c, new boolean[0]);
return D12;
}
public HttpParams X4(String keywords, int limit, int page) {
HttpParams D12 = D1();
D12.put("keyword", keywords, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("size", limit, new boolean[0]);
return D12;
}
public JSONObject Y(String title, String content, String coins, List<NetImageBean> image) {
JSONObject H12 = H1();
H12.put(com.alipay.sdk.widget.d.O, (Object) title);
H12.put("content", (Object) content);
if (TextUtils.isEmpty(coins)) {
H12.put("coins", (Object) 0);
} else {
H12.put("coins", (Object) coins);
}
if (image != null && image.size() != 0) {
H12.put("medias", (Object) JSON.toJSONString(image));
}
return H12;
}
public HttpParams Y0(int page, int size) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
return D12;
}
public HttpParams Y1(int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams Y2(int size, int page, String type) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
D12.put("name", type, new boolean[0]);
return D12;
}
public HttpParams Y3(int id, boolean isLike) {
HttpParams D12 = D1();
D12.put("comment_id", id, new boolean[0]);
D12.put("type", isLike ? j.f7934b : j.f7935c, new boolean[0]);
return D12;
}
public void Y4(String baseUrl) {
if (!baseUrl.startsWith("http://") && !baseUrl.startsWith("https://")) {
baseUrl = "http://" + baseUrl;
}
this.n3 = baseUrl.replaceAll("(\r\n|\r|\n|\n\r)", "");
}
public JSONObject Z(String title, List<NetImageBean> image, List<Integer> coins) {
JSONObject H12 = H1();
if (image != null && image.size() > 0) {
H12.put("images", (Object) image);
}
H12.put(com.alipay.sdk.widget.d.O, (Object) title);
if (coins != null && coins.size() > 0) {
H12.put("mv_ids", (Object) coins);
}
return H12;
}
public HttpParams Z0(String time, int page, int limit) {
HttpParams D12 = D1();
D12.put(Progress.DATE, time, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams Z1(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "goldMvLists", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams Z2() {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "tags", new boolean[0]);
return D12;
}
public HttpParams Z3(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public void Z4(String buildChannel) {
this.r3 = buildChannel;
}
public HttpParams a(int reply_id, int find_id) {
HttpParams D12 = D1();
D12.put("reply_id", reply_id, new boolean[0]);
D12.put("find_id", find_id, new boolean[0]);
return D12;
}
public HttpParams a0(int page, String from, String taggroup_id) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("from", from, new boolean[0]);
D12.put("taggroup_id", taggroup_id, new boolean[0]);
return D12;
}
public HttpParams a1(int id, int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("vid", id, new boolean[0]);
D12.put("size", 30, new boolean[0]);
return D12;
}
public HttpParams a2(String type, int page) {
HttpParams D12 = D1();
if (!TextUtils.isEmpty(type)) {
D12.put("type", type, new boolean[0]);
}
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams a3(String name) {
HttpParams D12 = D1();
D12.put(f8178a, "task", new boolean[0]);
D12.put(f8179b, "getToady", new boolean[0]);
D12.put("name", name, new boolean[0]);
return D12;
}
public HttpParams a4(int id, String groupId) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("group_id", groupId, new boolean[0]);
return D12;
}
public void a5(boolean isEncryp) {
this.s3 = isEncryp;
}
public HttpParams b(int news_id) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "collect_news", new boolean[0]);
D12.put("news_id", news_id, new boolean[0]);
return D12;
}
public HttpParams b0(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams b1(String id, String line) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "download", new boolean[0]);
D12.put("id", id, new boolean[0]);
D12.put("line", line, new boolean[0]);
return D12;
}
public HttpParams b2(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "message", new boolean[0]);
D12.put(f8179b, "getNearbyUser", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("lat", com.tencent.mm.location.a.a().f8160b, new boolean[0]);
D12.put("long", com.tencent.mm.location.a.a().f8161c, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams b3() {
HttpParams D12 = D1();
D12.put(f8178a, "task", new boolean[0]);
D12.put(f8179b, "today", new boolean[0]);
return D12;
}
public HttpParams b4(int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams b5(String uuid) {
HttpParams D12 = D1();
D12.put(f8178a, "message", new boolean[0]);
D12.put(f8179b, "read", new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams c(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "commentLiking", new boolean[0]);
D12.put("comment_id", id, new boolean[0]);
return D12;
}
public HttpParams c0(int reply_id, String coins) {
HttpParams D12 = D1();
D12.put("reply_id", reply_id, new boolean[0]);
D12.put("coins", coins, new boolean[0]);
return D12;
}
public HttpParams c1(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams c2(int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams c3(String week, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "updated", new boolean[0]);
D12.put("week", week, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams c4(String id, int page, String sort) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("sort", sort, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams c5(int sexType) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "setSex", new boolean[0]);
D12.put("sexType", sexType, new boolean[0]);
return D12;
}
public HttpParams d(int id, String ids) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("mv_ids", ids, new boolean[0]);
return D12;
}
public HttpParams d0(List<String> ids) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "chancelCollected", new boolean[0]);
String[] strArr = (String[]) ids.toArray(new String[ids.size()]);
StringBuffer stringBuffer = new StringBuffer();
for (int i4 = 0; i4 < ids.size(); i4++) {
if (i4 != ids.size() - 1) {
stringBuffer.append(ids.get(i4));
stringBuffer.append(",");
} else {
stringBuffer.append(ids.get(i4));
}
}
D12.put("ids", stringBuffer.toString(), new boolean[0]);
Log.e("response", D12.toString());
return D12;
}
public HttpParams d1(int id, int page, int size) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams d2(String type, int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams d3(long mv_id, int ticket_id) {
HttpParams D12 = D1();
D12.put("mv_id", mv_id, new boolean[0]);
D12.put("ticket_id", ticket_id, new boolean[0]);
return D12;
}
public HttpParams d4(String phone, String code, String mobile_prefix) {
HttpParams D12 = D1();
D12.put("phone", phone, new boolean[0]);
D12.put(f8179b, code, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams d5(int id, int status) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("status", status, new boolean[0]);
return D12;
}
public HttpParams e(int id, String type) {
HttpParams D12 = D1();
D12.put("type", type, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams e0(List<String> ids) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "chancelCollected", new boolean[0]);
String[] strArr = (String[]) ids.toArray(new String[ids.size()]);
StringBuffer stringBuffer = new StringBuffer();
for (int i4 = 0; i4 < ids.size(); i4++) {
if (i4 != ids.size() - 1) {
stringBuffer.append(ids.get(i4));
stringBuffer.append(",");
} else {
stringBuffer.append(ids.get(i4));
}
}
D12.put("ids", stringBuffer.toString(), new boolean[0]);
Log.e("response", D12.toString());
return D12;
}
public HttpParams e1(String uuid, int page, int limit) {
HttpParams D12 = D1();
D12.put(UserBox.TYPE, uuid, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams e2(int page, int limit, String tag, String category) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "getNewsByCategory", new boolean[0]);
D12.put("category", category, new boolean[0]);
D12.put(Progress.TAG, tag, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams e3(String aff) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "getUser", new boolean[0]);
D12.put("flag", aff, new boolean[0]);
return D12;
}
public HttpParams e4(String phone, String password, String mobile_prefix) {
HttpParams D12 = D1();
D12.put("phone", phone, new boolean[0]);
D12.put("password", password, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams e5(String key, String value) {
HttpParams D12 = D1();
JSONObject jSONObject = new JSONObject();
jSONObject.put(key, (Object) value);
D12.put("update", jSONObject.toJSONString(), new boolean[0]);
return D12;
}
public HttpParams f(String uuid) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "following", new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams f0(List<String> ids) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "chancelWatched", new boolean[0]);
String[] strArr = (String[]) ids.toArray(new String[ids.size()]);
StringBuffer stringBuffer = new StringBuffer();
for (int i4 = 0; i4 < ids.size(); i4++) {
if (i4 != ids.size() - 1) {
stringBuffer.append(ids.get(i4));
stringBuffer.append(",");
} else {
stringBuffer.append(ids.get(i4));
}
}
D12.put("ids", stringBuffer.toString(), new boolean[0]);
Log.e("response", D12.toString());
return D12;
}
public HttpParams f1(int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams f2(String tag, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "getNewsData", new boolean[0]);
D12.put(Progress.TAG, tag, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams f3() {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, i, new boolean[0]);
return D12;
}
public HttpParams f4(String phone, String password, String mobile_prefix) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "login", new boolean[0]);
D12.put("phone", phone, new boolean[0]);
D12.put("password", password, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams f5() {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "shareCode", new boolean[0]);
return D12;
}
public HttpParams g(String uuid) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "addFriend", new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams g0(int videoId) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "delNews", new boolean[0]);
D12.put("id", videoId, new boolean[0]);
return D12;
}
public HttpParams g1(int lastId, int page, int limit) {
HttpParams D12 = D1();
D12.put("lastId", lastId, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams g2(int page, int limit, int communityId) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "detail", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("news_id", communityId, new boolean[0]);
return D12;
}
public HttpParams g3(String uuid, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "getUserPhoto", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
if (!TextUtils.isEmpty(uuid)) {
D12.put(UserBox.TYPE, uuid, new boolean[0]);
}
return D12;
}
public HttpParams g4(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "fans", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams g5(String id) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "payment", new boolean[0]);
if (!TextUtils.isEmpty(id)) {
D12.put("id", id, new boolean[0]);
}
return D12;
}
public HttpParams h(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "liking", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams h0(String ids) {
HttpParams D12 = D1();
D12.put("ids", ids, new boolean[0]);
return D12;
}
public HttpParams h1(int page, int limit, boolean isGame) {
HttpParams D12 = D1();
D12.put(f8178a, "message", new boolean[0]);
D12.put(f8179b, "feedback", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("type_from", isGame ? 1 : 0, new boolean[0]);
return D12;
}
public HttpParams h2(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "notice", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("notice_id", j1.k().z(), new boolean[0]);
return D12;
}
public String h3() {
if (TextUtils.isEmpty(this.q3)) {
this.q3 = j1.k().x();
}
return this.q3;
}
public HttpParams h4(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, MoneyCenterActivity.K, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams h5(String id) {
HttpParams D12 = D1();
D12.put("mv_id", id, new boolean[0]);
return D12;
}
public HttpParams i(int reply_id, String coins) {
HttpParams D12 = D1();
D12.put("find_id", reply_id, new boolean[0]);
D12.put("coins", coins, new boolean[0]);
return D12;
}
public HttpParams i0(String uuid) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "delFriend", new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams i1(String type, int page) {
HttpParams D12 = D1();
D12.put("type", type, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams i2(String uuid) {
HttpParams D12 = D1();
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public String i3() {
if (TextUtils.isEmpty(this.p3)) {
this.p3 = q.g(VideoApplication.b());
}
return this.p3;
}
public HttpParams i4(int shoptype, String type) {
HttpParams D12 = D1();
D12.put("pay_type", type, new boolean[0]);
D12.put("type", shoptype, new boolean[0]);
return D12;
}
public HttpParams i5() {
return D1();
}
public HttpParams j(String thumb) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "addUserPhoto", new boolean[0]);
D12.put("thumb", thumb, new boolean[0]);
return D12;
}
public HttpParams j0(List<String> ids) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "chancelPlayed", new boolean[0]);
String[] strArr = (String[]) ids.toArray(new String[ids.size()]);
StringBuffer stringBuffer = new StringBuffer();
for (int i4 = 0; i4 < ids.size(); i4++) {
if (i4 != ids.size() - 1) {
stringBuffer.append(ids.get(i4));
stringBuffer.append(",");
} else {
stringBuffer.append(ids.get(i4));
}
}
D12.put("ids", stringBuffer.toString(), new boolean[0]);
Log.e("response", D12.toString());
return D12;
}
public HttpParams j1(int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams j2(String uuid, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "target_news", new boolean[0]);
D12.put("target_uuid", uuid, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams j3() {
HttpParams D12 = D1();
D12.put(f8178a, "system", new boolean[0]);
D12.put(f8179b, i, new boolean[0]);
return D12;
}
public HttpParams j4(String uuid) {
HttpParams D12 = D1();
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams j5(String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams k(int videoID, String code) {
HttpParams D12 = D1();
D12.put("mv_id", videoID, new boolean[0]);
D12.put(f8179b, code, new boolean[0]);
return D12;
}
public HttpParams k0(int thumb) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "deleteUserPhoto", new boolean[0]);
D12.put("id", thumb, new boolean[0]);
return D12;
}
public HttpParams k1(int id, int page) {
HttpParams D12 = D1();
D12.put("find_id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public String k2() {
return (com.tencent.mm.l.b.f().b() == null || com.tencent.mm.l.b.f().b().config == null || TextUtils.isEmpty(com.tencent.mm.l.b.f().b().config.report_url)) ? "http://rank.hyys.info/api.php" : com.tencent.mm.l.b.f().b().config.report_url;
}
public HttpParams k3(int tag, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "listByMusic", new boolean[0]);
D12.put("music_id", tag, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams k4(String id, String line) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "play", new boolean[0]);
D12.put("id", id, new boolean[0]);
D12.put("line", line, new boolean[0]);
return D12;
}
public HttpParams k5(String id, String c_id, String msg) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "commenting", new boolean[0]);
D12.put("mv_id", id, new boolean[0]);
D12.put("comment", msg, new boolean[0]);
if (!TextUtils.isEmpty(c_id)) {
D12.put("c_id", c_id, new boolean[0]);
}
return D12;
}
public HttpParams l(String description) {
HttpParams D12 = D1();
D12.put("creator_desc", description, new boolean[0]);
return D12;
}
public HttpParams l0(String videoId) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "delete", new boolean[0]);
D12.put("id", videoId, new boolean[0]);
return D12;
}
public HttpParams l1(int id, int page) {
HttpParams D12 = D1();
D12.put("find_id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("size", 10, new boolean[0]);
return D12;
}
public HttpParams l2(String type, int page) {
HttpParams D12 = D1();
D12.put(UserBox.TYPE, type, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams l3(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "collected", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("type", "dm", new boolean[0]);
return D12;
}
public HttpParams l4(String id, boolean isLike) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("type", isLike ? j.f7934b : j.f7935c, new boolean[0]);
return D12;
}
public HttpParams l5(String news_id, int pid, String comment) {
HttpParams D12 = D1();
D12.put(f8178a, "news", new boolean[0]);
D12.put(f8179b, "add_comment", new boolean[0]);
D12.put("news_id", news_id, new boolean[0]);
D12.put("comment", comment, new boolean[0]);
if (pid > 0) {
D12.put(k.A0, pid, new boolean[0]);
}
return D12;
}
public HttpParams m(int type, String tag, String description, String contact) {
HttpParams D12 = D1();
D12.put("type", type, new boolean[0]);
D12.put(Progress.TAG, tag, new boolean[0]);
D12.put(k.g0, contact, new boolean[0]);
D12.put("description", description, new boolean[0]);
return D12;
}
public HttpParams m0(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams m1(int page, String type, String sort, String has_coins, String is_match, String date_range) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("type", type, new boolean[0]);
D12.put("sort", sort, new boolean[0]);
D12.put("has_coins", has_coins, new boolean[0]);
D12.put("is_match", is_match, new boolean[0]);
D12.put("date_range", date_range, new boolean[0]);
return D12;
}
public String m2() {
if (!h.c().v()) {
return C0();
}
if (TextUtils.isEmpty(h.c().h().other_api_url)) {
return C0();
}
return h.c().h().other_api_url;
}
public HttpParams m3(int id, int lastId) {
HttpParams D12 = D1();
D12.put("mv_id", id, new boolean[0]);
D12.put("lastId", lastId, new boolean[0]);
return D12;
}
public <T> void m4(HttpParams params, b<T> callback) {
((PostRequest) ((PostRequest) ((PostRequest) OkGo.post(C0()).tag(callback.b())).upJson(z2(params).toJSONString()).cacheKey(E0(callback.a()))).cacheMode(CacheMode.FIRST_CACHE_THEN_REQUEST)).execute(callback);
}
public HttpParams m5() {
HttpParams D12 = D1();
D12.put(f8178a, "pay", new boolean[0]);
D12.put(f8179b, "traderNumber", new boolean[0]);
return D12;
}
public HttpParams n(String id) {
HttpParams D12 = D1();
D12.put(k.g0, id, new boolean[0]);
return D12;
}
public HttpParams n0(LocalMedia file) {
StringBuilder sb = new StringBuilder("id=");
String X3 = X();
sb.append(X3);
sb.append("&position=upload");
sb.append(com.tencent.mm.l.b.f().j());
String y3 = com.szcx.lib.encrypt.c.i().y(sb.toString());
HttpParams httpParams = new HttpParams();
httpParams.put("id", X3, new boolean[0]);
httpParams.put(com.luck.picture.lib.config.a.f4226f, "upload", new boolean[0]);
httpParams.put("cover", new File(file.f()));
httpParams.put("sign", y3, new boolean[0]);
return httpParams;
}
public HttpParams n1() {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "friends", new boolean[0]);
return D12;
}
public HttpParams n2(String uuid, int lastId, int limit) {
HttpParams D12 = D1();
if (!TextUtils.isEmpty(uuid)) {
D12.put(UserBox.TYPE, uuid, new boolean[0]);
}
if (lastId > 0) {
D12.put("lastId", lastId, new boolean[0]);
}
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams n3(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public <T> void n4(String url, HttpParams params, b<T> callback) {
g0.b("zbl: postRequest u", "url=" + url);
g0.b("zbl: postRequest u", "params=" + params.toString());
((PostRequest) ((PostRequest) ((PostRequest) ((PostRequest) OkGo.post(url).tag(callback.b())).upJson(z2(params).toJSONString()).headers("token", j1.k().w())).cacheKey(E0(callback.a()))).cacheMode(CacheMode.FIRST_CACHE_THEN_REQUEST)).execute(callback);
}
public HttpParams n5(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams o(String id, String type) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "closeFeedback", new boolean[0]);
D12.put("id", id, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams o0(String content, int message_type, boolean isGame) {
HttpParams D12 = D1();
if (message_type == 1) {
D12.put("content", content, new boolean[0]);
} else {
D12.put("image", content, new boolean[0]);
}
D12.put("message_type", message_type, new boolean[0]);
D12.put("type_from", isGame ? 1 : 0, new boolean[0]);
return D12;
}
public HttpParams o1(String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public String o2() {
if (TextUtils.isEmpty(this.t3)) {
this.t3 = VideoApplication.b().getPackageName();
}
return this.t3;
}
public HttpParams o3(int page, int limit, String id) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "detail", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public <T> void o4(String url, JSONObject params, b<T> callback) {
((PostRequest) ((PostRequest) ((PostRequest) ((PostRequest) OkGo.post(url).tag(callback.b())).upJson(A2(params).toJSONString()).headers("token", j1.k().w())).cacheKey(E0(callback.a()))).cacheMode(CacheMode.FIRST_CACHE_THEN_REQUEST)).execute(callback);
}
public HttpParams o5(String phone, String identify, String mobile_prefix) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "update", new boolean[0]);
D12.put("phone", phone, new boolean[0]);
D12.put("identify", identify, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams p(String phone, String identify, int type, String mobile_prefix) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
if (type == 1) {
D12.put(f8179b, "bindPhone", new boolean[0]);
} else {
D12.put(f8179b, "find", new boolean[0]);
}
D12.put("phone", phone, new boolean[0]);
D12.put("identify", identify, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams p0(String phone, String password, String code, String phonePrefix) {
HttpParams D12 = D1();
D12.put("phone", phone, new boolean[0]);
D12.put(f8179b, code, new boolean[0]);
D12.put("password", password, new boolean[0]);
D12.put("phonePrefix", phonePrefix, new boolean[0]);
return D12;
}
public HttpParams p1(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams p2(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "watched", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams p3(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "watched", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("type", "dm", new boolean[0]);
return D12;
}
public HttpParams p4(int comment_id, String type) {
HttpParams D12 = D1();
D12.put("comment_id", comment_id, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams p5(String uuid) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "updateChatUid", new boolean[0]);
D12.put("chat_uid", uuid, new boolean[0]);
return D12;
}
public HttpParams q(String phone, String identify, String pass, String mobile_prefix) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "bindPhone", new boolean[0]);
D12.put("phone", phone, new boolean[0]);
D12.put("identify", identify, new boolean[0]);
D12.put("password", pass, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public HttpParams q0(int id) {
HttpParams D12 = D1();
D12.put("vid", id, new boolean[0]);
return D12;
}
public HttpParams q1(String type, int page) {
HttpParams D12 = D1();
D12.put("type", type, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams q2(String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public String q3() {
return (com.tencent.mm.l.b.f().b() == null || com.tencent.mm.l.b.f().b().config == null || TextUtils.isEmpty(com.tencent.mm.l.b.f().b().config.report_url)) ? j3 : com.tencent.mm.l.b.f().b().config.report_key;
}
public HttpParams q4(String uuid) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "isFriend", new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams q5(UploadImageBean file) {
StringBuilder sb = new StringBuilder("id=");
if (TextUtils.isEmpty(file.imageName)) {
file.imageName = X();
}
sb.append(file.imageName);
sb.append("&position=head132f1537f85scxpcm59f7e318b9epa51");
String y3 = com.szcx.lib.encrypt.c.i().y(sb.toString());
HttpParams httpParams = new HttpParams();
httpParams.put("id", file.imageName, new boolean[0]);
httpParams.put(com.luck.picture.lib.config.a.f4226f, "head", new boolean[0]);
httpParams.put("cover", new File(file.imageLocalUrl));
httpParams.put("sign", y3, new boolean[0]);
return httpParams;
}
public HttpParams r(int type) {
HttpParams D12 = D1();
D12.put("group_id", type, new boolean[0]);
return D12;
}
public HttpParams r0(String follow_uuid) {
HttpParams D12 = D1();
D12.put("follow_uuid", follow_uuid, new boolean[0]);
return D12;
}
public HttpParams r1(int id, int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put("find_id", id, new boolean[0]);
return D12;
}
public HttpParams r2(String type, int page) {
HttpParams D12 = D1();
D12.put("cate", type, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams r3(String id) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "long", new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams r4() {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "loginOut", new boolean[0]);
return D12;
}
public HttpParams r5(List<HostLoginBean> list) {
HttpParams D12 = D1();
D12.put("lists", JSON.toJSONString(list), new boolean[0]);
return D12;
}
public HttpParams s(String uuid) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "blackFriend", new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams s0(String from_type, String to_type, String amount) {
HttpParams D12 = D1();
D12.put("from_type", from_type, new boolean[0]);
D12.put("to_type", to_type, new boolean[0]);
D12.put("amount", amount, new boolean[0]);
return D12;
}
public HttpParams s1(int page, int limit, String id, String sort) {
HttpParams D12 = D1();
D12.put(f8178a, "actor", new boolean[0]);
D12.put(f8179b, "detail", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("id", id, new boolean[0]);
D12.put("sort", sort, new boolean[0]);
return D12;
}
public HttpParams s2() {
HttpParams D12 = D1();
D12.put(f8178a, "proxy", new boolean[0]);
D12.put(f8179b, i, new boolean[0]);
return D12;
}
public HttpParams s3(String sort, String date, String tag, String uuid, boolean top2, int page, int size) {
HttpParams D12 = D1();
D12.put("sort", sort, new boolean[0]);
D12.put(Progress.TAG, tag, new boolean[0]);
D12.put(Progress.DATE, date, new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
D12.put("sort_by", top2 ? "asc" : "desc", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("lastId", size, new boolean[0]);
return D12;
}
public HttpParams s4(String type) {
HttpParams D12 = D1();
D12.put(f8178a, "pay", new boolean[0]);
D12.put(f8179b, "productList", new boolean[0]);
D12.put("pay_type", type, new boolean[0]);
return D12;
}
public HttpParams s5(int id, String title, String notice, String month, String jika, String year) {
HttpParams D12 = D1();
D12.put("name", title, new boolean[0]);
D12.put("notice", notice, new boolean[0]);
D12.put("month", month, new boolean[0]);
D12.put("quarter", jika, new boolean[0]);
D12.put("year", year, new boolean[0]);
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams t(String user) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "change", new boolean[0]);
D12.put("user", user, new boolean[0]);
return D12;
}
public HttpParams t0(int id) {
HttpParams D12 = D1();
D12.put("pos", id, new boolean[0]);
return D12;
}
public HttpParams t1(int page, int limit, Map<String, String> allCheck) {
HttpParams D12 = D1();
D12.put(f8178a, "actor", new boolean[0]);
D12.put(f8179b, "list", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
if (allCheck != null && allCheck.size() > 0) {
for (Map.Entry<String, String> entry : allCheck.entrySet()) {
D12.put(entry.getKey(), entry.getValue(), new boolean[0]);
}
}
return D12;
}
public HttpParams t2(String type, int page) {
HttpParams D12 = D1();
D12.put("type", type, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams t3(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "spendList", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("type", "dm", new boolean[0]);
return D12;
}
public HttpParams t4(String payWay, String id, String type, String code) {
HttpParams D12 = D1();
if (!TextUtils.isEmpty(payWay)) {
D12.put("pay_way", payWay, new boolean[0]);
}
D12.put("product_id", id, new boolean[0]);
D12.put("pay_type", type, new boolean[0]);
D12.put("verify_code", code, new boolean[0]);
D12.put("is_sdk", 1, new boolean[0]);
return D12;
}
public HttpParams t5(String owner_uuid, int movieId, int isFree, int duration) {
HttpParams D12 = D1();
D12.put("owner_uuid", owner_uuid, new boolean[0]);
D12.put("mv_id", movieId, new boolean[0]);
D12.put("is_free", isFree, new boolean[0]);
D12.put("duration", duration, new boolean[0]);
return D12;
}
public HttpParams u(String phone, String password, String mobile_prefix) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "checkPhone", new boolean[0]);
D12.put("phone", phone, new boolean[0]);
D12.put("password", password, new boolean[0]);
D12.put("mobile_prefix", mobile_prefix, new boolean[0]);
return D12;
}
public String u0(String baseUrl) {
if (!baseUrl.startsWith("http://") && !baseUrl.startsWith("https://")) {
baseUrl = "http://" + baseUrl;
}
return baseUrl.replaceAll("(\r\n|\r|\n|\n\r)", "");
}
public HttpParams u1(String code, int size, int page) {
HttpParams D12 = D1();
D12.put("page", page, new boolean[0]);
D12.put(f8179b, code, new boolean[0]);
D12.put("size", size, new boolean[0]);
return D12;
}
public HttpParams u2(int id, int page) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("page", page, new boolean[0]);
return D12;
}
public HttpParams u3(String tag, int page, int limit, boolean isHot) {
HttpParams D12 = D1();
if (isHot) {
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "hotLists", new boolean[0]);
D12.put("type", tag, new boolean[0]);
} else {
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "listByTag", new boolean[0]);
D12.put("tags", tag, new boolean[0]);
}
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams u4(String payWay, String id, String code) {
HttpParams D12 = D1();
D12.put("way", payWay, new boolean[0]);
D12.put(k.A0, id, new boolean[0]);
D12.put("verify_code", code, new boolean[0]);
return D12;
}
public HttpParams u5(String thumb) {
HttpParams D12 = D1();
JSONObject jSONObject = new JSONObject();
jSONObject.put("thumb", (Object) thumb);
D12.put("update", jSONObject.toJSONString(), new boolean[0]);
return D12;
}
public HttpParams v(String phone, String password) {
HttpParams D12 = D1();
D12.put("oldPassword", phone, new boolean[0]);
D12.put("password", password, new boolean[0]);
return D12;
}
public HttpParams v0(String type, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, type, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams v1(int id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams v2(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "recommendMore", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams v3(String sort, String tag, String uuid, boolean top2, int page, int size) {
HttpParams D12 = D1();
D12.put("sort", sort, new boolean[0]);
D12.put(Progress.TAG, tag, new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
D12.put("sort_by", top2 ? "asc" : "desc", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("size", size, new boolean[0]);
return D12;
}
public HttpParams v4(int type) {
HttpParams D12 = D1();
D12.put("page", type, new boolean[0]);
return D12;
}
public HttpParams v5(UploadImageBean file) {
StringBuilder sb = new StringBuilder("id=");
if (TextUtils.isEmpty(file.imageName)) {
file.imageName = X();
}
sb.append(file.imageName);
sb.append("&position=head");
sb.append(com.tencent.mm.l.b.f().j());
String y3 = com.szcx.lib.encrypt.c.i().y(sb.toString());
HttpParams httpParams = new HttpParams();
httpParams.put("id", file.imageName, new boolean[0]);
httpParams.put(com.luck.picture.lib.config.a.f4226f, "head", new boolean[0]);
httpParams.put("cover", new File(file.imageLocalUrl));
httpParams.put("sign", y3, new boolean[0]);
return httpParams;
}
public HttpParams w(String uuid, String content, int message_type) {
HttpParams D12 = D1();
D12.put(f8178a, "message", new boolean[0]);
D12.put(f8179b, "send", new boolean[0]);
D12.put("content", content, new boolean[0]);
D12.put("type", message_type, new boolean[0]);
D12.put(UserBox.TYPE, uuid, new boolean[0]);
return D12;
}
public HttpParams w0(int page, int limit, Map<String, String> allCheck) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "goldList", new boolean[0]);
if (allCheck != null && allCheck.size() > 0) {
for (Map.Entry<String, String> entry : allCheck.entrySet()) {
D12.put(entry.getKey(), entry.getValue(), new boolean[0]);
}
}
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams w1(int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "watched", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams w2(HttpParams params) {
params.put("system_build_id", D0(), new boolean[0]);
params.put("system_build_aff", L0(), new boolean[0]);
JSONObject jSONObject = new JSONObject();
for (Map.Entry<String, List<String>> entry : params.urlParamsMap.entrySet()) {
jSONObject.put(entry.getKey(), (Object) entry.getValue().get(0));
}
params.urlParamsMap.clear();
JSONObject parseObject = JSON.parseObject(x2(jSONObject));
params.put(c.a.b.j.c.f339e, parseObject.getString(c.a.b.j.c.f339e), new boolean[0]);
params.put("data", parseObject.getString("data"), new boolean[0]);
params.put("sign", parseObject.getString("sign"), new boolean[0]);
return params;
}
public HttpParams w3(String uuid, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "videos", new boolean[0]);
if (!TextUtils.isEmpty(uuid)) {
D12.put(UserBox.TYPE, uuid, new boolean[0]);
}
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams w4(String phone, String password) {
HttpParams D12 = D1();
D12.put("phone", phone, new boolean[0]);
D12.put("password", password, new boolean[0]);
return D12;
}
public HttpParams w5(UpdateVideoBean file) {
long currentTimeMillis = System.currentTimeMillis();
com.szcx.lib.encrypt.c i4 = com.szcx.lib.encrypt.c.i();
String j4 = i4.j(currentTimeMillis + com.tencent.mm.l.b.f().k());
HttpParams httpParams = new HttpParams();
httpParams.put(UserBox.TYPE, h3(), new boolean[0]);
httpParams.put(c.a.b.j.c.f339e, currentTimeMillis, new boolean[0]);
httpParams.put("video", new File(file.url));
httpParams.put("sign", j4, new boolean[0]);
Log.e("NetManager", "Request before " + httpParams.toString());
return httpParams;
}
public HttpParams x(String id) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
return D12;
}
public HttpParams x0(int page, int limit, String type) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, i, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
if (!TextUtils.isEmpty(type)) {
D12.put("type", type, new boolean[0]);
}
return D12;
}
public HttpParams x1(int page, int limit, int type) {
HttpParams D12 = D1();
if (type == 1) {
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "home", new boolean[0]);
} else {
D12.put(f8178a, "series", new boolean[0]);
D12.put(f8179b, "detail", new boolean[0]);
}
if (page > 0) {
D12.put("page", page, new boolean[0]);
}
if (limit > 0) {
D12.put("limit", limit, new boolean[0]);
}
return D12;
}
public HttpParams x3() {
HttpParams D12 = D1();
D12.put(f8178a, "task", new boolean[0]);
D12.put(f8179b, "getWeek", new boolean[0]);
return D12;
}
public HttpParams x4(int find_id, String ids) {
HttpParams D12 = D1();
D12.put("find_id", find_id, new boolean[0]);
D12.put("vid", ids, new boolean[0]);
return D12;
}
public HttpParams x5(UploadImageBean file) {
StringBuilder sb = new StringBuilder("id=");
if (TextUtils.isEmpty(file.imageName)) {
file.imageName = X();
}
sb.append(file.imageName);
sb.append("&position=xiao");
sb.append(com.tencent.mm.l.b.f().j());
String y3 = com.szcx.lib.encrypt.c.i().y(sb.toString());
HttpParams httpParams = new HttpParams();
httpParams.put("id", file.imageName, new boolean[0]);
httpParams.put(com.luck.picture.lib.config.a.f4226f, "xiao", new boolean[0]);
httpParams.put("cover", new File(file.imageLocalUrl));
httpParams.put("sign", y3, new boolean[0]);
return httpParams;
}
public HttpParams y(String id, int type) {
HttpParams D12 = D1();
D12.put("id", id, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams y0(int page, int limit, Map<String, String> allCheck) {
HttpParams D12 = D1();
D12.put(f8178a, "movies", new boolean[0]);
D12.put(f8179b, "more", new boolean[0]);
if (allCheck != null && allCheck.size() > 0) {
for (Map.Entry<String, String> entry : allCheck.entrySet()) {
D12.put(entry.getKey(), entry.getValue(), new boolean[0]);
}
}
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
return D12;
}
public HttpParams y1() {
HttpParams D12 = D1();
D12.put("has_game", "no", new boolean[0]);
D12.put("ver_no", "2206", new boolean[0]);
return D12;
}
public HttpParams y3(String name) {
HttpParams D12 = D1();
D12.put(f8178a, "task", new boolean[0]);
D12.put(f8179b, "getWelfare", new boolean[0]);
D12.put("name", name, new boolean[0]);
return D12;
}
public HttpParams y4(String id, String question) {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "replyFeedback", new boolean[0]);
if (!TextUtils.isEmpty(id)) {
D12.put("id", id, new boolean[0]);
}
D12.put("reply", question, new boolean[0]);
return D12;
}
public HttpParams y5(String order_id, String thumb) {
HttpParams D12 = D1();
D12.put(f8178a, "pay", new boolean[0]);
D12.put(f8179b, "uploadImgPaysucess", new boolean[0]);
D12.put("order_id", order_id, new boolean[0]);
D12.put("img_url", thumb, new boolean[0]);
return D12;
}
public HttpParams z() {
HttpParams D12 = D1();
D12.put(f8178a, "user", new boolean[0]);
D12.put(f8179b, "chancelFeedback", new boolean[0]);
return D12;
}
public HttpParams z0(String type, int page, int limit) {
HttpParams D12 = D1();
D12.put(f8178a, "series", new boolean[0]);
D12.put(f8179b, i, new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("limit", limit, new boolean[0]);
D12.put("type", type, new boolean[0]);
return D12;
}
public HttpParams z1(boolean isBanner, int id, int page, int lastid) {
HttpParams D12 = D1();
D12.put("banner", isBanner, new boolean[0]);
if (id > 0) {
D12.put("tabId", id, new boolean[0]);
}
D12.put("ver_no", "2206", new boolean[0]);
D12.put("page", page, new boolean[0]);
D12.put("last_id", lastid, new boolean[0]);
return D12;
}
public JSONObject z2(HttpParams params) {
JSONObject jSONObject = new JSONObject();
for (Map.Entry<String, List<String>> entry : params.urlParamsMap.entrySet()) {
jSONObject.put(entry.getKey(), (Object) entry.getValue().get(0));
}
jSONObject.put("system_build_aff", (Object) L0());
jSONObject.put("system_build_id", (Object) D0());
return JSON.parseObject(x2(jSONObject));
}
public HttpParams z3() {
HttpParams D12 = D1();
D12.put(f8178a, "task", new boolean[0]);
D12.put(f8179b, "welfare", new boolean[0]);
return D12;
}
public HttpParams z4(String password) {
HttpParams D12 = D1();
D12.put("password", password, new boolean[0]);
return D12;
}
public HttpParams z5(UpdateVideoBean videoBean) {
HttpParams D12 = D1();
D12.put(f8178a, i, new boolean[0]);
D12.put(f8179b, "upload", new boolean[0]);
D12.put(com.alipay.sdk.widget.d.O, videoBean.title, new boolean[0]);
D12.put("tags", videoBean.tags, new boolean[0]);
D12.put("url", videoBean.netUrl, new boolean[0]);
int i4 = videoBean.coins;
if (i4 > 0) {
D12.put("coins", i4, new boolean[0]);
}
if (!TextUtils.isEmpty(videoBean.thumbUrl)) {
D12.put("thumb_width", videoBean.width, new boolean[0]);
D12.put("thumb_height", videoBean.hight, new boolean[0]);
D12.put("img_url", videoBean.thumbUrl, new boolean[0]);
}
int i5 = videoBean.musicId;
if (i5 > 0) {
D12.put("music_id", i5, new boolean[0]);
}
return D12;
}
}