diff --git a/DownKyi.Core/BiliApi/Favorites/FavoritesResource.cs b/DownKyi.Core/BiliApi/Favorites/FavoritesResource.cs
index 36082b8..9268ff7 100644
--- a/DownKyi.Core/BiliApi/Favorites/FavoritesResource.cs
+++ b/DownKyi.Core/BiliApi/Favorites/FavoritesResource.cs
@@ -18,7 +18,7 @@ namespace DownKyi.Core.BiliApi.Favorites
///
public static List GetFavoritesMedia(long mediaId, int pn, int ps)
{
- string url = $"https://api.bilibili.com/x/v3/fav/resource/list?media_id={mediaId}&pn={pn}&ps={ps}";
+ string url = $"https://api.bilibili.com/x/v3/fav/resource/list?media_id={mediaId}&pn={pn}&ps={ps}&platform=web";
string referer = "https://www.bilibili.com";
string response = WebClient.RequestWeb(url, referer);
diff --git a/DownKyi.Core/BiliApi/Users/UserRelation.cs b/DownKyi.Core/BiliApi/Users/UserRelation.cs
index 63c6a86..f56acd7 100644
--- a/DownKyi.Core/BiliApi/Users/UserRelation.cs
+++ b/DownKyi.Core/BiliApi/Users/UserRelation.cs
@@ -210,7 +210,7 @@ namespace DownKyi.Core.BiliApi.Users
/// 每页项数
/// 排序方式
///
- public static List GetFollowingGroupContent(int tagId, int pn, int ps, FollowingOrder order = FollowingOrder.DEFAULT)
+ public static List GetFollowingGroupContent(long tagId, int pn, int ps, FollowingOrder order = FollowingOrder.DEFAULT)
{
string orderType = "";
if (order == FollowingOrder.ATTENTION)
diff --git a/DownKyi.Core/BiliApi/Users/UserSpace.cs b/DownKyi.Core/BiliApi/Users/UserSpace.cs
index e7c5c18..9295a8b 100644
--- a/DownKyi.Core/BiliApi/Users/UserSpace.cs
+++ b/DownKyi.Core/BiliApi/Users/UserSpace.cs
@@ -112,7 +112,7 @@ namespace DownKyi.Core.BiliApi.Users
/// 视频分区
/// 搜索关键词
///
- public static SpacePublicationList GetPublication(long mid, int pn, int ps, int tid = 0, PublicationOrder order = PublicationOrder.PUBDATE, string keyword = "")
+ public static SpacePublicationList GetPublication(long mid, int pn, int ps, long tid = 0, PublicationOrder order = PublicationOrder.PUBDATE, string keyword = "")
{
string url = $"https://api.bilibili.com/x/space/arc/search?mid={mid}&pn={pn}&ps={ps}&order={order.ToString("G").ToLower()}&tid={tid}&keyword={keyword}";
string referer = "https://www.bilibili.com";
diff --git a/DownKyi/Services/FavoritesService.cs b/DownKyi/Services/FavoritesService.cs
index a04bfe8..05df126 100644
--- a/DownKyi/Services/FavoritesService.cs
+++ b/DownKyi/Services/FavoritesService.cs
@@ -198,7 +198,7 @@ namespace DownKyi.Services
App.PropertyChangeAsync(new Action(() =>
{
- tabHeaders.Add(new TabHeader { Id = (int)item.Id, Title = item.Title, SubTitle = item.MediaCount.ToString() });
+ tabHeaders.Add(new TabHeader { Id = item.Id, Title = item.Title, SubTitle = item.MediaCount.ToString() });
}));
}
}
@@ -223,7 +223,7 @@ namespace DownKyi.Services
App.PropertyChangeAsync(new Action(() =>
{
- tabHeaders.Add(new TabHeader { Id = (int)item.Id, Title = item.Title, SubTitle = item.MediaCount.ToString() });
+ tabHeaders.Add(new TabHeader { Id = item.Id, Title = item.Title, SubTitle = item.MediaCount.ToString() });
}));
}
}
diff --git a/DownKyi/ViewModels/Friends/ViewFollowingViewModel.cs b/DownKyi/ViewModels/Friends/ViewFollowingViewModel.cs
index 0cec046..061f766 100644
--- a/DownKyi/ViewModels/Friends/ViewFollowingViewModel.cs
+++ b/DownKyi/ViewModels/Friends/ViewFollowingViewModel.cs
@@ -305,7 +305,7 @@ namespace DownKyi.ViewModels.Friends
return true;
}
- private async Task LoadFollowingGroupContent(int tagId, int pn, int ps)
+ private async Task LoadFollowingGroupContent(long tagId, int pn, int ps)
{
List contents = null;
await Task.Run(() =>
diff --git a/DownKyi/ViewModels/PageViewModels/TabHeader.cs b/DownKyi/ViewModels/PageViewModels/TabHeader.cs
index ad37256..f2d54b0 100644
--- a/DownKyi/ViewModels/PageViewModels/TabHeader.cs
+++ b/DownKyi/ViewModels/PageViewModels/TabHeader.cs
@@ -5,8 +5,8 @@ namespace DownKyi.ViewModels.PageViewModels
{
public class TabHeader : BindableBase
{
- private int id;
- public int Id
+ private long id;
+ public long Id
{
get => id;
set => SetProperty(ref id, value);
diff --git a/DownKyi/ViewModels/ViewFriendsViewModel.cs b/DownKyi/ViewModels/ViewFriendsViewModel.cs
index bc3d683..097c532 100644
--- a/DownKyi/ViewModels/ViewFriendsViewModel.cs
+++ b/DownKyi/ViewModels/ViewFriendsViewModel.cs
@@ -110,7 +110,7 @@ namespace DownKyi.ViewModels
///
///
///
- private void NavigationView(int id, bool isFirst)
+ private void NavigationView(long id, bool isFirst)
{
// isFirst参数表示是否是从PageFriends的headerTable的item点击进入的
// true表示加载PageFriends后第一次进入
diff --git a/DownKyi/ViewModels/ViewMyBangumiFollowViewModel.cs b/DownKyi/ViewModels/ViewMyBangumiFollowViewModel.cs
index 1a16f8f..2f47d48 100644
--- a/DownKyi/ViewModels/ViewMyBangumiFollowViewModel.cs
+++ b/DownKyi/ViewModels/ViewMyBangumiFollowViewModel.cs
@@ -152,8 +152,8 @@ namespace DownKyi.ViewModels
TabHeaders = new ObservableCollection
{
- new TabHeader { Id = (int)Core.BiliApi.Users.Models.BangumiType.ANIME, Title = DictionaryResource.GetString("FollowAnime") },
- new TabHeader { Id = (int)Core.BiliApi.Users.Models.BangumiType.EPISODE, Title = DictionaryResource.GetString("FollowMovie") }
+ new TabHeader { Id = (long)Core.BiliApi.Users.Models.BangumiType.ANIME, Title = DictionaryResource.GetString("FollowAnime") },
+ new TabHeader { Id = (long)Core.BiliApi.Users.Models.BangumiType.EPISODE, Title = DictionaryResource.GetString("FollowMovie") }
};
Medias = new ObservableCollection();