mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
添加id日志
This commit is contained in:
parent
2bdb692ecd
commit
e4003f63bb
@ -127,7 +127,7 @@ async function joyReward() {
|
||||
}
|
||||
console.log(`\ndebug场次:${giftSaleInfos}\n`)
|
||||
for (let item of data[giftSaleInfos]) {
|
||||
console.log(`${item['giftName']}当前库存:${item['leftStock']}`)
|
||||
console.log(`${item['giftName']}当前库存:${item['leftStock']},id:${item.id}`)
|
||||
if (item.giftType === 'jd_bean' && item['giftValue'] === rewardNum) {
|
||||
saleInfoId = item.id;
|
||||
leftStock = item.leftStock;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user