[update] kkfile预览增加参数type为kkfile

This commit is contained in:
lideqin
2024-08-08 14:30:34 +08:00
parent 03e9e0b0d1
commit d8bf730655
+1 -1
View File
@@ -30,7 +30,7 @@ export function dealUrl (fileUrl) {
const watermarkSign = md5(watermarkTxt + 'cnhtc')
// 路径增加时间戳
const timestamp = new Date().getTime()
fileUrl += `&time=${timestamp}`
fileUrl += `&time=${timestamp}&type=kkfile`
return `${window._CONFIG.onlinePreviewDomainURL}?url=${encodeURIComponent(Base64.encode(fileUrl))}&watermarkTxt=${encodeURIComponent(watermarkTxt)}&watermarkSign=${watermarkSign}`
}