Merge branch 'fix-liveHistory'

This commit is contained in:
guozhigq
2024-09-29 14:11:02 +08:00
3 changed files with 28 additions and 0 deletions

View File

@ -142,4 +142,15 @@ class LiveHttp {
};
}
}
// 直播历史记录
static Future liveRoomEntry({required int roomId}) async {
await Request().post(Api.liveRoomEntry, queryParameters: {
'room_id': roomId,
'platform': 'pc',
'csrf_token': await Request.getCsrf(),
'csrf': await Request.getCsrf(),
'visit_id': '',
});
}
}