mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-08 07:28:37 +08:00
fix: FollowedLiveStrip 样式优化 + getFollowedLiveRooms 参数调整
This commit is contained in:
@@ -509,8 +509,7 @@ export async function getDanmaku(cid: number): Promise<DanmakuItem[]> {
|
||||
|
||||
export async function getFollowedLiveRooms(): Promise<LiveRoom[]> {
|
||||
const res = await api.get(`${LIVE_BASE}/xlive/web-ucenter/v1/xfetter/FeedList`, {
|
||||
params: { page: 1, page_size: 30, platform: 'web' },
|
||||
headers: { Referer: 'https://live.bilibili.com' },
|
||||
params: { page: 1, page_size: 10, platform: 'web' },
|
||||
});
|
||||
if (res.data?.code !== 0) {
|
||||
console.warn('getFollowedLiveRooms error:', res.data?.code, res.data?.message);
|
||||
|
||||
Reference in New Issue
Block a user