MCPcopy Create free account
hub / github.com/Semporia/Scripts / showMsg

Function showMsg

activity/jd_unbind.js:98–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 }
97}
98function showMsg() {
99 if (!jdNotify || jdNotify === 'false') {
100 $.msg($.name, ``, `【京东账号${$.index}】${$.nickName}\n【已注销会员卡】${$.unsubscribeCount}个\n【还剩会员卡】${$.cardsTotalNum-$.unsubscribeCount}个\n`);
101 } else {
102 $.log(`\n【京东账号${$.index}】${$.nickName}\n【已注销会员卡】${$.unsubscribeCount}个\n【还剩会员卡】${$.cardsTotalNum-$.unsubscribeCount}个\n`);
103 }
104}
105function getCards() {
106 return new Promise((resolve) => {
107 const option = {

Callers 1

jd_unbind.jsFile · 0.70

Calls 2

msgMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected