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

Function jdFruit

jd_get_share_code.js:474–488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

472 }
473
474 async function jdFruit() {
475 await initForFarm();
476 if ($.farmInfo.farmUserPro) {
477 console.log(
478 `【京东账号${$.index}(${$.UserName})京东农场】${$.farmInfo.farmUserPro.shareCode}`
479 );
480
481 } else {
482 /*console.log(
483 `初始化农场数据异常, 请登录京东 app查看农场0元水果功能是否正常,农场初始化数据: ${JSON.stringify(
484 $.farmInfo
485 )}`
486 );*/
487 }
488 }
489
490 await jdFruit();
491}

Callers 1

getJDFruitFunction · 0.70

Calls 2

initForFarmFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected