mirror of
https://github.com/czp3009/bilibili-api.git
synced 2024-12-21 20:30:28 +08:00
将 actionKey 设为固定参数
This commit is contained in:
parent
4e7b89f4ee
commit
4366bb2420
@ -132,6 +132,7 @@ public class BilibiliAPI implements BilibiliServiceProvider, BilibiliCaptchaProv
|
||||
.addInterceptor(new AddFixedParamsInterceptor(
|
||||
"_device", "android",
|
||||
"_hwid", bilibiliClientProperties.getHardwareId(),
|
||||
"actionKey", "appkey",
|
||||
"build", bilibiliClientProperties.getBuild(),
|
||||
"mobi_app", "android",
|
||||
"platform", "android",
|
||||
|
@ -230,14 +230,9 @@ public interface LiveService {
|
||||
//瓜子商店
|
||||
//侧拉抽屉 -> 直播中心 -> 瓜子商店 -> 银瓜子兑换 -> 硬币银瓜子互换 -> 兑换硬币
|
||||
//将 700 银瓜子兑换为 1 硬币, 每个用户每天只能换一次
|
||||
//actionKey 是固定值, 为 "appkey"
|
||||
//已经兑换过时返回 403
|
||||
@POST("AppExchange/silver2coin")
|
||||
Call<Silver2CoinResponseEntity> silver2Coin(@Query("actionKey") String actionKey);
|
||||
|
||||
default Call<Silver2CoinResponseEntity> silver2Coin() {
|
||||
return silver2Coin("appkey");
|
||||
}
|
||||
Call<Silver2CoinResponseEntity> silver2Coin();
|
||||
|
||||
//扭蛋机
|
||||
//侧拉抽屉 -> 直播中心 -> 扭蛋机 -> 普通扭蛋
|
||||
|
Loading…
Reference in New Issue
Block a user