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:
@@ -21,7 +21,6 @@ const url = `https://baike.baidu.com/cms/home/eventsOnHistory/${month}.json`;
|
||||
// 数据处理
|
||||
const getData = (data) => {
|
||||
if (!data) return [];
|
||||
console.log(data);
|
||||
return data.map((v) => {
|
||||
return {
|
||||
year: v.year,
|
||||
|
||||
Reference in New Issue
Block a user