This commit is contained in:
tangly1024.com
2024-02-27 12:16:20 +08:00
parent 37671229ae
commit a8085fa4d9
2 changed files with 4 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ export async function getNotionPageData({ pageId, from }) {
const cacheKey = 'page_block_' + pageId
const data = await getDataFromCache(cacheKey)
if (data && data.pageIds?.length > 0) {
console.log('[API<<--缓存]', `from:${from}`, `root-page-id:${pageId}`)
// console.log('[API<<--缓存]', `from:${from}`, `root-page-id:${pageId}`)
return data
}
const db = await getDataBaseInfoByNotionAPI({ pageId, from })