feat: 一些朋友圈功能的优化实现

This commit is contained in:
cc committed 2026-01-23 23:33:06 +08:00
1 parent bdbb85175a
commit a100f4ef97
8 files changed
+1127 -562

No files matched your search

+4
View File
@@ -673,6 +673,10 @@ function registerIpcHandlers() {
return chatService.getMessageById(sessionId, localId)
})
ipcMain.handle('chat:execQuery', async (_, kind: string, path: string | null, sql: string) => {
return chatService.execQuery(kind, path, sql)
})
ipcMain.handle('sns:getTimeline', async (_, limit: number, offset: number, usernames?: string[], keyword?: string, startTime?: number, endTime?: number) => {
return snsService.getTimeline(limit, offset, usernames, keyword, startTime, endTime)
})