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

Function cfd

jd_cfd_loop.js:76–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 .finally(() => $.done());
75
76async function cfd() {
77 try {
78 const beginInfo = await getUserInfo(false);
79 if (beginInfo.Fund.ddwFundTargTm === 0) {
80 console.log(`还未开通活动,请先开通\n`)
81 return
82 }
83 if ($.info.buildInfo.dwTodaySpeedPeople !== 501) {
84 await $.wait(2000)
85 await speedUp()
86 } else {
87 console.log(`热气球接客已达上限,跳过执行\n`)
88 }
89 await $.wait(2000)
90 await queryshell()
91 } catch (e) {
92 $.logErr(e)
93 }
94}
95
96// 卖贝壳
97async function querystorageroom() {

Callers 1

jd_cfd_loop.jsFile · 0.70

Calls 6

speedUpFunction · 0.85
queryshellFunction · 0.85
getUserInfoFunction · 0.70
logMethod · 0.45
waitMethod · 0.45
logErrMethod · 0.45

Tested by

no test coverage detected