diff --git a/jdCookie.js b/jdCookie.js index c870015..1f5b241 100644 --- a/jdCookie.js +++ b/jdCookie.js @@ -44,7 +44,7 @@ if (process.env.BANPIN) { let pinarr = i.split('@')[1].split(','); console.log(`已配置该任务不执行pin: ${JSON.stringify(pinarr)}`); for (let j of pinarr) { - CookieJDs = CookieJDs.filter(x => !x.includes(j)); + CookieJDs = CookieJDs.filter(x => !x.includes(encodeURIComponent(j))); } } @@ -54,7 +54,7 @@ if (process.env.BANPIN) { let pinarr = banpin.split(','); console.log(`已配置全局不执行pin: ${JSON.stringify(pinarr)}`); for (let i of pinarr) { - CookieJDs = CookieJDs.filter(x => !x.includes(i)); + CookieJDs = CookieJDs.filter(x => !x.includes(encodeURIComponent(i))); } } } catch { }