Commit 0cf71b5f authored by martin hou's avatar martin hou

fix: 取消全局的签名变更

parent 78516a75
...@@ -780,7 +780,6 @@ Jensen.prototype.listFiles = async function () { ...@@ -780,7 +780,6 @@ Jensen.prototype.listFiles = async function () {
createDate = ftime.getFullYear() + '/' + fnpad(ftime.getMonth() + 1) + '/' + fnpad(ftime.getDate()); createDate = ftime.getFullYear() + '/' + fnpad(ftime.getMonth() + 1) + '/' + fnpad(ftime.getDate());
createTime = fnpad(ftime.getHours()) + ':' + fnpad(ftime.getMinutes()) + ':' + fnpad(ftime.getSeconds()); createTime = fnpad(ftime.getHours()) + ':' + fnpad(ftime.getMinutes()) + ':' + fnpad(ftime.getSeconds());
} }
let sign2 = md5(`${fname.join('')}${createDate}${flen}${sign.join('')}`);
files.push({ files.push({
name: fname.join(''), name: fname.join(''),
createDate: createDate, createDate: createDate,
...@@ -789,7 +788,7 @@ Jensen.prototype.listFiles = async function () { ...@@ -789,7 +788,7 @@ Jensen.prototype.listFiles = async function () {
duration: duration, duration: duration,
version: ver, version: ver,
length: flen, length: flen,
signature: sign2 signature: sign.join('')
}); });
// console.log(`Sign1: ${sign.join('')}, Sign2: ${sign2}`); // console.log(`Sign1: ${sign.join('')}, Sign2: ${sign2}`);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment