文档新增东东工厂脚本心仪商品的环境变量以及说明

This commit is contained in:
lxk0301
2020-11-26 10:49:33 +08:00
parent c2d0bae124
commit 05efd9a3f3
4 changed files with 8 additions and 6 deletions

View File

@ -436,6 +436,7 @@ function jdfactory_getProductList(flag) {
console.log(`${item.name.slice(-4)} ${item.sellOut === 1 ? '已抢光':'可选'} ${item.couponCount}`);
if (item.name.indexOf(wantProduct) > -1 && item.couponCount > 0 && item.sellOut === 0) {
await jdfactory_makeProduct(item.skuId);
break
}
}
}