文档新增东东工厂脚本心仪商品的环境变量以及说明
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user