This commit is contained in:
lxk0301
2021-02-28 14:06:17 +08:00
parent c29aa0e848
commit 7a40c2466c

View File

@ -23,6 +23,7 @@ if (process.env.JXNCTOKENS) {
} else if (process.env.JD_COOKIE) {
console.log(`由于您环境变量里面未提供 tokens当种植 APP 种子时,将不能正常进行任务,请提供 token 或 种植非 APP 种子!`)
}
JxncTokens = [...new Set(JxncTokens.filter(item => !!item))]
for (let i = 0; i < JxncTokens.length; i++) {
const index = (i + 1 === 1) ? '' : (i + 1);
exports['JXNCTOKEN' + index] = JxncTokens[i];