update fix

This commit is contained in:
qist
2023-10-20 19:01:16 +08:00
parent b739dda461
commit 1c86c17f81
10 changed files with 61 additions and 47 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ async function detail(id) {
}
function playPid() {
var key = Crypto.enc.Utf8.parse("ba0-d4g5-45eb-c2ba0-d4g5-45eb-cs");
var key = Crypto.enc.Utf8.parse('VSmJTRRE'+dayjs().format('YYYYMMDD'));
var iv = Crypto.enc.Hex.parse("00000000000000000000000000000000");
var pid = Crypto.AES.encrypt(dayjs().format('YYYY-MM-DD HH:mm'), key, { iv: iv, padding: Crypto.pad.Pkcs7 });
pid = pid.toString().replace(/\+/g, '-');