mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
fix: 修复 36kr 无法获取 #5
This commit is contained in:
@@ -46,6 +46,7 @@ krRouter.get("/36kr", async (ctx) => {
|
||||
siteId: 1,
|
||||
platformId: 2,
|
||||
},
|
||||
timestamp: new Date().getTime(),
|
||||
});
|
||||
data = getData(response.data.data.hotRankList);
|
||||
updateTime = new Date().toISOString();
|
||||
@@ -84,6 +85,7 @@ krRouter.get("/36kr/new", async (ctx) => {
|
||||
siteId: 1,
|
||||
platformId: 2,
|
||||
},
|
||||
timestamp: new Date().getTime(),
|
||||
});
|
||||
const newData = getData(response.data.data.hotRankList);
|
||||
updateTime = new Date().toISOString();
|
||||
|
||||
Reference in New Issue
Block a user