QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685

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


package tencent.doc.opensdk.openapi.search;

import android.text.TextUtils;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import tencent.doc.opensdk.openapi.search.c;

public class b extends tencent.doc.opensdk.openapi.a.c<c> {
    public void a(final a aVar, final tencent.doc.opensdk.openapi.b<c> bVar) {
        a(new Runnable() {
            @Override
            public void run() {
                String str;
                HashMap hashMap = new HashMap();
                b.this.a(hashMap, "searchKey", aVar.a());
                String str2 = "";
                b.this.a(hashMap, "searchType", aVar.b() == null ? "" : aVar.b().type);
                b.this.a(hashMap, "resultType", aVar.c() == null ? "" : aVar.c().type);
                b.this.a(hashMap, "folderID", aVar.d());
                b.this.a(hashMap, "offset", aVar.e() + "");
                b.this.a(hashMap, "size", aVar.f() + "");
                b.this.a(hashMap, "sortType", aVar.g() == null ? "" : aVar.g().type);
                b bVar2 = b.this;
                if (aVar.h() == null) {
                    str = "";
                } else {
                    str = aVar.h().value + "";
                }
                bVar2.a(hashMap, "asc", str);
                b bVar3 = b.this;
                if (aVar.i() != null) {
                    str2 = aVar.i().type + "";
                }
                bVar3.a(hashMap, "byOwnership", str2);
                b.this.a(hashMap, "fileTypes", aVar.j());
                b.this.a("https://docs.qq.com/openapi/drive/v2/search", hashMap, new tencent.doc.opensdk.c.a<c>() {
                    @Override
                    public void a(String str3) {
                        b.this.a(str3, bVar);
                    }

                    @Override
                    public void a(c cVar) {
                        if (cVar.d() == null) {
                            b.this.a(cVar.b() + ": " + cVar.c(), bVar);
                            return;
                        }
                        List<c.a.C1345a> d2 = cVar.d().d();
                        if (d2 == null) {
                            d2 = new ArrayList<>(0);
                            cVar.d().a(d2);
                        }
                        Iterator<c.a.C1345a> it = d2.iterator();
                        while (it.hasNext()) {
                            if (TextUtils.equals(it.next().a(), "enterprise")) {
                                it.remove();
                            }
                        }
                        b.this.a((b) cVar, (tencent.doc.opensdk.openapi.b<b>) bVar);
                    }
                });
            }
        });
    }
}