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

Function share

jd_moneyTree.js:597–608  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

595}
596
597function share(data) {
598 if (data.opType === 1) {
599 console.log(`开始做分享任务\n`)
600 } else {
601 console.log(`开始做领取分享后的奖励\n`)
602 }
603 return new Promise((rs, rj) => {
604 request('doWork', data).then(response => {
605 rs(response);
606 })
607 })
608}
609
610async function stealFriendFruit() {
611 await friendRank();

Callers 1

dayWorkFunction · 0.85

Calls 2

requestFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected