mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
feat: 新增豆瓣新片榜 & add ESLint
This commit is contained in:
@@ -129,7 +129,7 @@ itHomeRouter.get("/ithome/new", async (ctx) => {
|
||||
...routerInfo,
|
||||
updateTime,
|
||||
total: newData.length,
|
||||
data: newData
|
||||
data: newData,
|
||||
};
|
||||
|
||||
// 删除旧数据
|
||||
@@ -147,7 +147,7 @@ itHomeRouter.get("/ithome/new", async (ctx) => {
|
||||
...routerInfo,
|
||||
total: cachedData.length,
|
||||
updateTime,
|
||||
data: cachedData
|
||||
data: cachedData,
|
||||
};
|
||||
} else {
|
||||
// 如果缓存中也没有数据,则返回错误信息
|
||||
|
||||
Reference in New Issue
Block a user