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

Function helpFriends

activity/jd_split.js:88–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 })
87}
88async function helpFriends() {
89 for (let code of $.newShareCodes) {
90 if (!code) continue
91 const helpRes = await jdsplit_collectScore(code,6,null);
92 if (helpRes.code === 0 && helpRes.data.bizCode === -7) {
93 console.log(`助力机会已耗尽,跳出`);
94 break
95 }
96 }
97}
98async function doTask() {
99 for (let item of $.taskVos) {
100 if (item.taskType === 8) {

Callers 1

jdSplitFunction · 0.70

Calls 2

jdsplit_collectScoreFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected