|
c1427379c6
|
[Add] StringListRedisCacheStore 增加类型为String的RedisListCacheStore实现;
[Change] BotCommandProcess 更换pagesCache的缓存组件(RedisPoolCacheStore<List<String>> -> StringListRedisCacheStore);
|
2020-04-17 18:25:48 +08:00 |
|
|
3e4b7f1145
|
[Update] BotCommandProcess 对IllustPreLoadData更换缓存组件(JsonRedisCacheStore -> HotDataCacheStore);
[Update] BotCommandProcess 补充Javadoc;
|
2020-04-17 15:19:09 +08:00 |
|
|
5ad2a56ce2
|
[Add] BotCommandProcess 将 getImageById 中用于构造BotCode的代码分离到 getImageToBotCode 方法;
[Add] PreLoadDataComparator 增加新的比较器, 主要用于对Pixiv搜索结果的排序;
[Change] BotCommandProcess 重写 getImageById 方法以提高处理效率;
[Change] BotCommandProcess 将 search 方法对搜索结果的排序抽出到新的Comparator实现类(PreLoadDataComparator);
|
2020-04-16 16:51:25 +08:00 |
|
|
b720f657d0
|
[Change] 将部分CacheStore对象的类型调整为CacheStore<>以保证DIP, 增加灵活性;
[Change] 将Ranking缓存调整为JsonObjectRedisListCacheStore, 减少不必要的缓存数据查询;
|
2020-04-16 10:59:18 +08:00 |
|
|
a26762d96b
|
[Change] 完成包路径调整;
[Change] 调整部分日志输出级别;
[Add] ranking 方法增加对过早日期的过滤, 以拦截非法请求;
[Change] globalProp 从 CQPluginMain 迁移到 BotCommandProcess;
[Update] 优化缓存失效时的数据存取过程;
[Fix] 修复 search 方法对结果进行likeCount排序遇到特殊JsonObject时抛出异常的问题;
[Update] getRankingInfoByCache 对因接口返回无效导致的空缓存增加浮动有效时间;
[Delete] getRankingInfoByCache 删除无用代码;
|
2020-04-15 15:09:14 +08:00 |
|