添加id日志
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user