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

Function showTaskProcess

jd_plantBean.js:385–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

383 }
384}
385function showTaskProcess() {
386 return new Promise(async resolve => {
387 await plantBeanIndex();
388 $.taskList = $.plantBeanIndexResult.data.taskList;
389 if ($.taskList && $.taskList.length > 0) {
390 console.log(" 任务 进度");
391 for (let item of $.taskList) {
392 console.log(`[${item["taskName"]}] ${item["gainedNum"]}/${item["totalNum"]} ${item["isFinished"]}`);
393 }
394 }
395 resolve()
396 })
397}
398//助力好友
399async function doHelp() {
400 for (let plantUuid of newShareCodes) {

Callers 1

jdPlantBeanFunction · 0.85

Calls 2

plantBeanIndexFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected