mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: view pgc section
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1053,6 +1053,7 @@ class VideoDetailController extends GetxController
|
|||||||
bvid: bvid,
|
bvid: bvid,
|
||||||
epid: epId,
|
epid: epId,
|
||||||
seasonId: seasonId,
|
seasonId: seasonId,
|
||||||
|
forcePgcApi: Get.arguments['pgcApi'] ?? false,
|
||||||
);
|
);
|
||||||
if (result['status']) {
|
if (result['status']) {
|
||||||
data = result['data'];
|
data = result['data'];
|
||||||
|
|||||||
@@ -757,8 +757,9 @@ class Utils {
|
|||||||
if (item.epId.toString() == epId.toString()) {
|
if (item.epId.toString() == epId.toString()) {
|
||||||
// view as normal video
|
// view as normal video
|
||||||
Utils.toDupNamed(
|
Utils.toDupNamed(
|
||||||
'/video?bvid=${item.bvid}&cid=${item.cid}',
|
'/video?bvid=${item.bvid}&cid=${item.cid}&seasonId=${data.seasonId}&epId=${item.epId}',
|
||||||
arguments: {
|
arguments: {
|
||||||
|
'pgcApi': true,
|
||||||
'pic': item.cover,
|
'pic': item.cover,
|
||||||
'heroTag': Utils.makeHeroTag(item.cid),
|
'heroTag': Utils.makeHeroTag(item.cid),
|
||||||
'videoType': SearchType.video,
|
'videoType': SearchType.video,
|
||||||
|
|||||||
Reference in New Issue
Block a user