修复了图片解密失败的问题
This commit is contained in:
1 parent
7365831ec1
commit
ec0eb64ffd
9 files changed
+522
-267
No files matched your search
+2
-2
@@ -852,9 +852,9 @@ function registerIpcHandlers() {
|
||||
})
|
||||
|
||||
// 视频相关
|
||||
ipcMain.handle('video:getVideoInfo', async (_, videoMd5: string) => {
|
||||
ipcMain.handle('video:getVideoInfo', async (_, videoMd5: string, sessionId?: string) => {
|
||||
try {
|
||||
const result = await videoService.getVideoInfo(videoMd5)
|
||||
const result = await videoService.getVideoInfo(videoMd5, sessionId)
|
||||
return { success: true, ...result }
|
||||
} catch (e) {
|
||||
return { success: false, error: String(e), exists: false }
|
||||
|
||||
Reference in new issue
Block a user