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

Function smtgSign

jd_superMarket.js:471–488  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

469
470//每日签到
471function smtgSign(body) {
472 return new Promise((resolve) => {
473 $.get(taskUrl('smtg_sign', body), async (err, resp, data) => {
474 try {
475 if (err) {
476 console.log('\n东东超市: API查询请求失败 ‼️‼️')
477 console.log(JSON.stringify(err));
478 } else {
479 data = JSON.parse(data);
480 }
481 } catch (e) {
482 $.logErr(e, resp);
483 } finally {
484 resolve(data);
485 }
486 })
487 })
488}
489
490// 商圈活动
491async function businessCircleActivity() {

Callers 2

daySignFunction · 0.85
BeanSignFunction · 0.85

Calls 4

taskUrlFunction · 0.70
getMethod · 0.45
logMethod · 0.45
logErrMethod · 0.45

Tested by

no test coverage detected