Skip to content

Commit aaae7ab

Browse files
committed
1. 小飞机规则修改, 稍后更新发行版. #43
2. 缓存策略将在近期添加. 这阵子忙的一地鸡毛. 不想活了
1 parent db7aa2f commit aaae7ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

parser/src/main/java/cn/qaiu/parser/impl/FjTool.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public Future<String> parse() {
5050
dataKey = CommonUtils.adaptShortPaths(SHARE_URL_PREFIX, key);
5151
}
5252

53-
String shareId = String.valueOf(AESUtils.idEncrypt(dataKey));
53+
// 240530 此处shareId又改为了原始的shareId, nm玩呢?
54+
String shareId = dataKey; // String.valueOf(AESUtils.idEncrypt(dataKey));
5455
long nowTs = System.currentTimeMillis();
5556
String tsEncode = AESUtils.encrypt2Hex(Long.toString(nowTs));
5657
String uuid = UUIDUtil.fjUuid(); // 也可以使用 UUID.randomUUID().toString()
@@ -61,7 +62,7 @@ public Future<String> parse() {
6162
.setTemplateParam("ts", tsEncode)
6263
.send().onSuccess(r0 -> { // 忽略res
6364

64-
long nowTs0 = System.currentTimeMillis();
65+
// long nowTs0 = System.currentTimeMillis();
6566
String tsEncode0 = AESUtils.encrypt2Hex(Long.toString(nowTs));
6667
// 第一次请求 获取文件信息
6768
// POST https://api.feijipan.com/ws/recommend/list?devType=6&devModel=Chrome&extra=2&shareId=146731&type=0&offset=1&limit=60

0 commit comments

Comments
 (0)