From 2d716e2df255933bce6e19d4c747a5c697c792af Mon Sep 17 00:00:00 2001 From: chuqiuyu <58679624+gaotianliuyun@users.noreply.github.com> Date: Fri, 20 Oct 2023 15:38:13 +0800 Subject: [PATCH] Update jiohub.js --- cat/js/jiohub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cat/js/jiohub.js b/cat/js/jiohub.js index c756da03..0d07b277 100644 --- a/cat/js/jiohub.js +++ b/cat/js/jiohub.js @@ -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, '-');