优化中奖类型通知
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user