(prefix = "现金余额")
| 270 | } |
| 271 | |
| 272 | async queryBalance(prefix = "现金余额") { |
| 273 | const data = await this.mapApi("/activity/v1/withdraw/home", { |
| 274 | activity_id: ACTIVITY_ID, |
| 275 | game_id: 4, |
| 276 | rule_id: "tencent_map_withdraw", |
| 277 | }); |
| 278 | $.log( |
| 279 | `${prefix}:金币=${formatCoin(data.coins)},可提现=${formatCoin(data.withdrawable_amount)},门槛=${formatCoin(data.current_withdraw_threshold)},奖池=${formatCoin(data.jackpot_amount)}` |
| 280 | ); |
| 281 | return data; |
| 282 | } |
| 283 | |
| 284 | async queryAssets() { |
| 285 | const data = await this.mapApi("/activity/v1/assert/home", { activity_id: ACTIVITY_ID }); |
no test coverage detected