feat: 优化 AI 日报结果中心信息架构

This commit is contained in:
电摇小子
2026-07-14 11:07:35 +08:00
committed by 电摇小子
parent c291c94bd8
commit d28b579cb4
11 changed files with 372 additions and 102 deletions
+9 -1
View File
@@ -10,7 +10,11 @@ import { StickerService } from './sticker-service'
import { parseMessageContent } from './message-parser'
import { ImageDecryptService } from './image-decrypt-service'
import { exportGroupReport } from './group-report-service'
import { listGeneratedReports, saveGeneratedReport } from './report-history-service'
import {
deleteGeneratedReport,
listGeneratedReports,
saveGeneratedReport
} from './report-history-service'
import type { GroupReportExportRequest } from '../shared/group-report'
import type { SaveGeneratedReportRequest } from '../shared/report-history'
import { DatabaseKeyStore } from './database-key-store'
@@ -343,6 +347,10 @@ app.whenReady().then(async () => {
return saveGeneratedReport(request)
})
ipcMain.handle('report:deleteGenerated', async (_, reportId: string) => {
return deleteGeneratedReport(reportId)
})
ipcMain.handle('report:reveal', async (_, filePath: string) => {
try {
shell.showItemInFolder(filePath)