feat: kkfile增加强制刷新缓存参数

This commit is contained in:
2024-09-04 16:51:51 +08:00
parent a63cb2dd31
commit dd3b766706
+1 -1
View File
@@ -31,7 +31,7 @@ export function dealUrl (fileUrl) {
// 路径增加时间戳 // 路径增加时间戳
const timestamp = new Date().getTime() const timestamp = new Date().getTime()
fileUrl += `&time=${timestamp}&type=kkfile` fileUrl += `&time=${timestamp}&type=kkfile`
return `${window._CONFIG.onlinePreviewDomainURL}?url=${encodeURIComponent(Base64.encode(fileUrl))}&watermarkTxt=${encodeURIComponent(watermarkTxt)}&watermarkSign=${watermarkSign}` return `${window._CONFIG.onlinePreviewDomainURL}?forceUpdatedCache=true&url=${encodeURIComponent(Base64.encode(fileUrl))}&watermarkTxt=${encodeURIComponent(watermarkTxt)}&watermarkSign=${watermarkSign}`
} }
/** /**