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

Function clockInFollowForFarm

jd_fruit.js:1111–1131  ·  view source on GitHub ↗
(id, type, step)

Source from the content-addressed store, hash-verified

1109
1110//关注,领券等API
1111async function clockInFollowForFarm(id, type, step) {
1112 const functionId = arguments.callee.name.toString();
1113 let body = {
1114 id,
1115 type,
1116 step
1117 }
1118 if (type === 'theme') {
1119 if (step === '1') {
1120 $.themeStep1 = await request(functionId, body);
1121 } else if (step === '2') {
1122 $.themeStep2 = await request(functionId, body);
1123 }
1124 } else if (type === 'venderCoupon') {
1125 if (step === '1') {
1126 $.venderCouponStep1 = await request(functionId, body);
1127 } else if (step === '2') {
1128 $.venderCouponStep2 = await request(functionId, body);
1129 }
1130 }
1131}
1132
1133// 领取连续签到7天的惊喜礼包API
1134async function gotClockInGift() {

Callers 1

clockInInFunction · 0.85

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected