Closed BIGMONK closed 2 years ago
沾喜气示例请参考如下:
const growth = juejin.growth(); const luckyusersResult = await growth.getLotteriesLuckyUsers(); if (luckyusersResult.count > 0) { const no1LuckyUser = luckyusersResult.lotteries[0]; const dipLuckyResult = await growth.dipLucky(no1LuckyUser.history_id); if (dipLuckyResult.has_dip) { console.log(`今天你已经沾过喜气,明天再来吧!`); } else { console.log(`沾喜气 +${dipLuckyResult.dip_value} 幸运值`); } }
actions记录可以看到执行代码走了catch,但是没有具体输出
问题已修复
juejin-helper
新版本已发布, 自动化已经同步, 手动构建再次检查.
运行成功,谢谢
沾喜气示例请参考如下: