B站直播送出背包的礼物. @return JsonObject @author srcrs @since 2020-10-13
(String requestBody)
| 149 | * @since 2020-10-13 |
| 150 | */ |
| 151 | public JsonObject xliveBagSend(String requestBody) { |
| 152 | requestBody += "&uid=" + ConfigLoader.helperConfig.getBiliVerify().getDedeUserId() |
| 153 | + "&csrf=" + ConfigLoader.helperConfig.getBiliVerify().getBiliJct() |
| 154 | + "&send_ruid=" + "0" |
| 155 | + "&storm_beat_id=" + "0" |
| 156 | + "&price=" + "0" |
| 157 | + "&platform=" + "pc" |
| 158 | + "&biz_code=" + "live"; |
| 159 | return HttpUtils.doPost("https://api.live.bilibili.com/gift/v2/live/bag_send", requestBody); |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * 获取一个包含 uid 和 RooId 的 json 对象. |
no test coverage detected