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

Function showMsg

jd_speed.js:86–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 $.done();
85 })
86function showMsg() {
87 jdNotify = $.getdata('jdSpeedNotify') ? $.getdata('jdSpeedNotify') : jdNotify;
88 if (!jdNotify || jdNotify === 'false') {
89 $.msg($.name, subTitle, `【京东账号${$.index}】${$.nickName}\n` + message);
90 } else {
91 $.log(`\n${message}\n`);
92 }
93}
94function jDSpeedUp(sourceId) {
95 return new Promise((resolve) => {
96 let body = {"source": "game"};

Callers 1

jd_speed.jsFile · 0.70

Calls 3

getdataMethod · 0.45
msgMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected