update jdCookie.js.

This commit is contained in:
lxk0301
2021-03-12 11:50:06 +08:00
committed by Gitee
parent 8f8844e598
commit e5dee69cff

View File

@ -28,6 +28,7 @@ if (JSON.stringify(process.env).indexOf('GITHUB')>-1) {
CookieJDs = [...new Set(CookieJDs.filter(item => !!item))]
console.log(`\n====================共有${CookieJDs.length}个京东账号Cookie=========\n`);
console.log(`==================脚本执行- 北京时间(UTC+8)${new Date(new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000).toLocaleString()}=====================\n`)
if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') console.log = () => {};
for (let i = 0; i < CookieJDs.length; i++) {
const index = (i + 1 === 1) ? '' : (i + 1);
exports['CookieJD' + index] = CookieJDs[i].trim();