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

Function jdPlantBean

jd_get_share_code.js:407–420  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405 }
406
407 async function jdPlantBean() {
408 await plantBeanIndex();
409 // console.log(plantBeanIndexResult.data.taskList);
410 if ($.plantBeanIndexResult.code === "0") {
411 const shareUrl = $.plantBeanIndexResult.data.jwordShareInfo.shareUrl;
412 $.myPlantUuid = getParam(shareUrl, "plantUuid");
413 console.log(`【京东账号${$.index}(${$.UserName})种豆得豆】${$.myPlantUuid}`);
414
415 } else {
416 console.log(
417 `种豆得豆-初始失败: ${JSON.stringify($.plantBeanIndexResult)}`
418 );
419 }
420 }
421
422 await jdPlantBean();
423}

Callers 1

getPlantBeanFunction · 0.70

Calls 3

plantBeanIndexFunction · 0.70
getParamFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected