[update] kkfile预览增加参数type为kkfile
This commit is contained in:
@@ -30,7 +30,7 @@ export function dealUrl (fileUrl) {
|
|||||||
const watermarkSign = md5(watermarkTxt + 'cnhtc')
|
const watermarkSign = md5(watermarkTxt + 'cnhtc')
|
||||||
// 路径增加时间戳
|
// 路径增加时间戳
|
||||||
const timestamp = new Date().getTime()
|
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}`
|
return `${window._CONFIG.onlinePreviewDomainURL}?url=${encodeURIComponent(Base64.encode(fileUrl))}&watermarkTxt=${encodeURIComponent(watermarkTxt)}&watermarkSign=${watermarkSign}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user