This commit is contained in:
tangly1024
2023-06-19 22:41:56 +08:00
parent a042dc859a
commit 9759f8fb50

View File

@@ -65,7 +65,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('[缓存]:', `from:${from}`, `root-page-id:${pageId}`, data)
console.log('[缓存]:', `from:${from}`, `root-page-id:${pageId}`)
return data
}
const pageRecordMap = await getDataBaseInfoByNotionAPI({ pageId, from })