From ce565b63f36e31a4b85dea6d78a6991c50b3df03 Mon Sep 17 00:00:00 2001 From: star <869728223@qq.com> Date: Fri, 4 Jun 2021 10:26:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A1=AB=E5=86=99=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E5=9C=B0=E5=9D=80=E8=B7=AF=E5=BE=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_star_shop.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jd_star_shop.js b/jd_star_shop.js index a004b027..c51a776b 100644 --- a/jd_star_shop.js +++ b/jd_star_shop.js @@ -136,11 +136,14 @@ async function main() { }else{ console.log(`获得实物:${$.rewards[i].prizeDesc || ''},已填写地址`); } - } else { + } else if ($.rewards[i].prizeType === 10) { + console.log(`获得京豆`); + } else { console.log(`获得其他:${$.rewards[i].prizeDesc || ''}`); } } if(sendMessage){ + sendMessage += `填写收货地址路径:\n京东首页,搜索明星(蔡徐坤),进入明星小店,我的礼物,填写收货地址`; await notify.sendNotify(`星店长`, sendMessage); } }