(self, mobile: str, activity_id: str = "1611")
| 418 | return self.request_encrypted("/hapi/en/api", params) |
| 419 | |
| 420 | def query_red_packet_balance(self, mobile: str, activity_id: str = "1611") -> dict: |
| 421 | params = { |
| 422 | "apiName": "act/ActApi/doubleEggCostRedeemInfo", |
| 423 | "mobile": mobile, |
| 424 | "activityId": activity_id |
| 425 | } |
| 426 | return self.request_encrypted("/hapi/en/api", params) |
| 427 | |
| 428 | def redeem_red_packet(self, mobile: str, cost_value: float, activity_id: str = "1611") -> dict: |
| 429 | params = { |
no test coverage detected