Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-22 19:06:23 +08:00
parent 993c1f309a
commit 92f96c93f0

View File

@@ -717,17 +717,22 @@ class VideoHttp {
{required int mid, required int act, required int reSrc}) async {
var res = await Request().post(
Api.relationMod,
queryParameters: {
'statistics': '{"appId":100,"platform":5}',
'x-bili-device-req-json':
'{"platform":"web","device":"pc","spmid":"333.1387"}',
},
data: {
'fid': mid,
'act': act,
're_src': reSrc,
'gaia_source': 'web_main',
'spmid': '333.999.0.0',
'extend_content': {
'spmid': '333.1387',
'extend_content': jsonEncode({
"entity": "user",
"entity_id": mid,
'fp': Request.headerUa(type: 'pc'),
},
}),
'csrf': Accounts.main.csrf,
},
options: Options(