From 69cde95f8ff8517a9d0d233eb8918dce0ee73bd0 Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Wed, 31 Mar 2021 18:24:50 +0800 Subject: [PATCH] update --- jd_club_lottery.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jd_club_lottery.js b/jd_club_lottery.js index 9c5f5333..48ba864f 100644 --- a/jd_club_lottery.js +++ b/jd_club_lottery.js @@ -421,8 +421,10 @@ function fc_getHomeData(appId, flag = false) { data = JSON.parse(data); if (data && data['data']['bizCode'] === 0) { if (flag && $.index === 1) { - if ($.isNode()) await notify.sendNotify($.name, `京东APP首页超级摇一摇再次开启\n如需做开通会员任务,请点击链接直达活动页面\n${superShakeUlr}`, { url: superShakeUlr }); - $.msg($.name, '', `京东APP首页超级摇一摇再次开启\n如需做开通会员任务,请点击弹窗直达活动页面`, { 'open-url': superShakeUlr }) + const scaleUl = { "category": "jump", "des": "m", "url": superShakeUlr }; + const openjd = `openjd://virtual?params=${encodeURIComponent(JSON.stringify(scaleUl))}`; + if ($.isNode()) await notify.sendNotify($.name, `京东APP首页超级摇一摇再次开启\n如需做开通会员任务,请点击链接直达活动页面\n${superShakeUlr}`, { url: openjd }); + $.msg($.name, '', `京东APP首页超级摇一摇再次开启\n如需做开通会员任务,请点击弹窗直达活动页面`, { 'open-url': openjd }) } $.taskVos = data['data']['result']['taskVos'].filter(item => !!item && item['status'] === 1) || []; $.lotteryNum = parseInt(data['data']['result']['lotteryNum']);