mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -4,7 +4,8 @@ abstract final class Api {
|
||||
// 推荐视频
|
||||
static const String recommendListApp =
|
||||
'${HttpString.appBaseUrl}/x/v2/feed/index';
|
||||
static const String recommendListWeb = '/x/web-interface/index/top/feed/rcmd';
|
||||
static const String recommendListWeb =
|
||||
'/x/web-interface/wbi/index/top/feed/rcmd';
|
||||
|
||||
// APP端不感兴趣、取消不感兴趣
|
||||
static const String feedDislike = '${HttpString.appBaseUrl}/x/feed/dislike';
|
||||
|
||||
@@ -48,7 +48,7 @@ abstract final class VideoHttp {
|
||||
}) async {
|
||||
final res = await Request().get(
|
||||
Api.recommendListWeb,
|
||||
queryParameters: {
|
||||
queryParameters: await WbiSign.makSign({
|
||||
'version': 1,
|
||||
'feed_version': 'V8',
|
||||
'homepage_ver': 1,
|
||||
@@ -56,7 +56,7 @@ abstract final class VideoHttp {
|
||||
'fresh_idx': freshIdx,
|
||||
'brush': freshIdx,
|
||||
'fresh_type': 4,
|
||||
},
|
||||
}),
|
||||
);
|
||||
if (res.data['code'] == 0) {
|
||||
List<RecVideoItemModel> list = <RecVideoItemModel>[];
|
||||
|
||||
Reference in New Issue
Block a user