Revert "修复了图片解密失败的问题"

This commit is contained in:
xuncha authored and GitHub committed 2026-02-27 14:13:04 +08:00
1 parent d59d552aae
commit f070d184ea
9 files changed
+254 -509

No files matched your search

+2 -2
View File
@@ -852,9 +852,9 @@ function registerIpcHandlers() {
})
// 视频相关
ipcMain.handle('video:getVideoInfo', async (_, videoMd5: string, sessionId?: string) => {
ipcMain.handle('video:getVideoInfo', async (_, videoMd5: string) => {
try {
const result = await videoService.getVideoInfo(videoMd5, sessionId)
const result = await videoService.getVideoInfo(videoMd5)
return { success: true, ...result }
} catch (e) {
return { success: false, error: String(e), exists: false }