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

Function showMsg

jd_try.js:428–438  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

426}
427
428async function showMsg() {
429 let message = `京东账号${$.index} ${$.nickName || $.UserName}\n🎉 本次申请:${$.totalTry}/${$.totalGoods}个商品🛒\n🎉 ${$.successList.length}个商品待领取🤩\n🎉 结束原因:${$.stopMsg}`
430 if (!args.jdNotify || args.jdNotify === 'false') {
431 $.msg($.name, ``, message, {
432 "open-url": 'https://try.m.jd.com/user'
433 })
434 await $.notify.sendNotify(`${$.name} - 账号${$.index} - ${$.nickName}`, message)
435 } else {
436 console.log(message)
437 }
438}
439
440function taskurl(url, goodId) {
441 return {

Callers 1

jd_try.jsFile · 0.70

Calls 2

msgMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected