酷狗概念版 v2.5.5版本的 MD5 值为:782d327088fca4e58310f35a56f41319

以下内容为反编译后的 s.java 源代码,内容仅作参考


package com.kugou.android.app.home.channel.protocol;

import c.a.a.i;
import c.t;
import com.kugou.android.app.a.a;
import com.kugou.android.app.home.channel.f.d;
import com.kugou.common.app.KGCommonApplication;
import com.kugou.common.config.c;
import com.kugou.common.network.w;
import com.kugou.common.q.b;
import com.kugou.common.utils.as;
import com.kugou.common.utils.br;
import com.tencent.open.SocialOperation;
import com.tencent.stat.DeviceInfo;
import d.ab;
import java.util.HashMap;
import org.json.JSONObject;
import rx.e;

public class s {
    public static e<String> a() {
        t b2 = new t.a().b("ChannelGetLevelPicProtocol").a(w.a(a.qN, "https://youth.kugou.com/v1/get_level_pic")).a(c.b.a.a.a()).a(i.a()).a().b();
        HashMap hashMap = new HashMap();
        hashMap.put("appid", Integer.valueOf(c.a().d(a.lo)));
        hashMap.put("clientver", Integer.valueOf(br.F(KGCommonApplication.getContext())));
        hashMap.put("clienttime", Long.valueOf(br.d() / 1000));
        hashMap.put(DeviceInfo.TAG_MID, br.j(KGCommonApplication.getContext()));
        hashMap.put("dfid", b.a().cS());
        hashMap.put(SocialOperation.GAME_SIGNATURE, w.a(w.c(hashMap)));
        return ((bi) b2.a(bi.class)).a(hashMap).c(new rx.b.e<ab, e<String>>() {
            @Override
            public e<String> call(ab abVar) {
                String str;
                try {
                    str = abVar.f();
                } catch (Exception e2) {
                    e = e2;
                    str = null;
                }
                try {
                    as.f("lzq-young", str);
                    JSONObject jSONObject = new JSONObject(str);
                    if (jSONObject.optInt("status") == 1) {
                        return e.a(jSONObject.optJSONObject("data").optString("level_pic_url"));
                    }
                    return e.a((Throwable) new d(jSONObject.optInt("error_code")));
                } catch (Exception e3) {
                    e = e3;
                    e.printStackTrace();
                    return e.a((Throwable) new com.kugou.android.app.home.channel.f.c(str));
                }
            }
        });
    }
}