Merge branch 'master' of https://github.com/shylocks/jd_scripts
This commit is contained in:
@ -531,7 +531,7 @@ function requireConfig() {
|
||||
//Node.js用户请在jdCookie.js处填写京东ck;
|
||||
let shareCodes = []
|
||||
console.log(`共${cookiesArr.length}个京东账号\n`);
|
||||
if (process.env.JDNIAN_SHARECODES) {
|
||||
if ($.isNode() && process.env.JDNIAN_SHARECODES) {
|
||||
if (process.env.JDNIAN_SHARECODES.indexOf('\n') > -1) {
|
||||
shareCodes = process.env.JDNIAN_SHARECODES.split('\n');
|
||||
} else {
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user