Skip to content

Commit

Permalink
增加数据获取功能
Browse files Browse the repository at this point in the history
  • Loading branch information
weihua.xiao committed Feb 3, 2024
1 parent 1c9859b commit 7398136
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 506 deletions.
4 changes: 1 addition & 3 deletions backend/utils/redbookService.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,7 @@ async function getAllNoteList(userId, xhsCookies) {
cursor = batchResult.cursor;
has_more = batchResult.has_more;
} while (has_more);
return {
cursor, notes, has_more
}
return notes
}

async function getProfileInfo(userId, xhsCookies) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Douyin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const writeData = async () => {
console.log("writeData() >> infoData", infoData)
if (Array.isArray(infoData)) {
await addRecords(table, infoData, mappedFieldIds);
await addRecords(table, infoData, mappedFields);
} else {
await setRecord(table, recordId, infoData, mappedFields);
}
Expand Down
Loading

0 comments on commit 7398136

Please sign in to comment.