()
| 160 | } |
| 161 | |
| 162 | async doSignOnce() { |
| 163 | const result = await this.api({ action: "userQiandao" }); |
| 164 | if (result?.Status) { |
| 165 | const data = result.Data || {}; |
| 166 | this.log(`签到结果: 成功,获得 ${data.add_jf ?? "-"} 积分,当前积分 ${data.user_jf ?? "-"}`); |
| 167 | return true; |
| 168 | } |
| 169 | this.log(`签到结果: ${short(result?.Data || result)}`); |
| 170 | return false; |
| 171 | } |
| 172 | |
| 173 | async doAdRewardOnce() { |
| 174 | const result = await this.api({ action: "IntegralGiveReward" }); |