mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
优化中奖类型通知
This commit is contained in:
parent
76d7a4564f
commit
88b0683345
@ -393,7 +393,7 @@ async function getAward() {
|
||||
console.log(`====抽奖结果====,${JSON.stringify(lotteryRes.data)}`);
|
||||
console.log(lotteryRes.data.name);
|
||||
console.log(lotteryRes.data.beanNum);
|
||||
if ((lotteryRes.data['prizeId'] && lotteryRes.data['prizeId'] !== '9999') || lotteryRes.data.name !== '未中奖') {
|
||||
if (lotteryRes.data['prizeId'] && (lotteryRes.data['type'] !== '99' && lotteryRes.data['type'] !== '3' && lotteryRes.data['type'] !== '8' && lotteryRes.data['type'] !== '9')) {
|
||||
message += `抽奖获得:${lotteryRes.data.name}\n`;
|
||||
}
|
||||
} else if (lotteryRes.code === 4001) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user