[Delete] 移除无用的getSearchBody(String, ...)方法;

[Delete] CacheStoreCentral 移除无用的方法;
This commit is contained in:
LamGC 2020-07-29 03:20:58 +08:00
parent a6ac8a6b2b
commit 3b066485e3
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -14,7 +14,6 @@ import net.lamgc.cgj.pixiv.PixivSearchLinkBuilder;
import net.lamgc.cgj.pixiv.PixivURL;
import net.lamgc.cgj.util.Locker;
import net.lamgc.cgj.util.LockerMap;
import net.lamgc.cgj.util.PixivUtils;
import net.lamgc.cgj.util.URLs;
import net.lamgc.utils.encrypt.MessageDigestUtils;
import net.lz1998.cq.utils.CQCode;
@ -406,30 +405,6 @@ public final class CacheStoreCentral {
return result;
}
/**
* 获取搜索结果
* @param content 搜索内容
* @param type 类型
* @param area 范围
* @param includeKeywords 包含关键词
* @param excludeKeywords 排除关键词
* @param contentOption 内容类型
* @return 返回完整搜索结果
* @throws IOException 当请求发生异常, 或接口返回异常信息时抛出.
*/
public JsonObject getSearchBody(
String content,
String type,
String area,
String includeKeywords,
String excludeKeywords,
String contentOption,
int pageIndex
) throws IOException {
return getSearchBody(PixivUtils.buildSearchLinkBuilderFromString(content, type, area,
includeKeywords, excludeKeywords, contentOption, pageIndex));
}
/**
* 获取搜索结果
* @param searchBuilder 需要执行搜索的搜索链接构造器