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

Function threeMealInitFun

jd_pet.js:356–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354
355// 三餐签到, 每天三段签到时间
356async function threeMealInitFun() {
357 console.log('准备三餐签到');
358 const response = await request("getThreeMealReward");
359 console.log(`三餐签到结果: ${JSON.stringify(response)}`);
360 if (response.code === '0' && response.resultCode === '0') {
361 console.log(`【定时领狗粮】获得${response.result.threeMealReward}g\n`);
362 // message += `【定时领狗粮】获得${response.result.threeMealReward}g\n`;
363 } else {
364 console.log(`【定时领狗粮】${response.message}\n`);
365 // message += `【定时领狗粮】${response.message}\n`;
366 }
367}
368
369// 浏览指定店铺 任务
370async function browseSingleShopInit(item) {

Callers 1

doTaskFunction · 0.85

Calls 2

requestFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected