This commit is contained in:
陈思海 2026-02-09 13:33:29 +08:00
parent b42cddd0ff
commit 9417e7b467

View File

@ -64,7 +64,7 @@ async function getVideoCoverFromVod(fileId) {
// 生成VOD防盗链签名URL // 生成VOD防盗链签名URL
// 根据腾讯云文档https://cloud.tencent.com/document/product/266/14047 // 根据腾讯云文档https://cloud.tencent.com/document/product/266/14047
// 签名算法sign = MD5(KEY + Dir + t + us) // 签名算法sign = MD5(KEY + Dir + t + us)
function generateSignedUrl(videoUrl, signKey, expirationTime = 3600) { function generateSignedUrl(videoUrl, signKey, expirationTime = 86400) {
if (!signKey || !videoUrl) { if (!signKey || !videoUrl) {
return videoUrl; return videoUrl;
} }