mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
@@ -736,7 +736,7 @@ abstract final class PageUtils {
|
||||
int? pgcType,
|
||||
String? cover,
|
||||
String? title,
|
||||
int? progress,
|
||||
int? progress, // milliseconds
|
||||
Map? extraArguments,
|
||||
bool off = false,
|
||||
}) {
|
||||
@@ -773,7 +773,7 @@ abstract final class PageUtils {
|
||||
static bool viewPgcFromUri(
|
||||
String uri, {
|
||||
bool isPgc = true,
|
||||
String? progress,
|
||||
int? progress, // milliseconds
|
||||
int? aid,
|
||||
}) {
|
||||
RegExpMatch? match = _pgcRegex.firstMatch(uri);
|
||||
@@ -817,7 +817,7 @@ abstract final class PageUtils {
|
||||
static Future<void> viewPgc({
|
||||
dynamic seasonId,
|
||||
dynamic epId,
|
||||
String? progress,
|
||||
int? progress, // milliseconds
|
||||
}) async {
|
||||
try {
|
||||
SmartDialog.showLoading(msg: '资源获取中');
|
||||
@@ -837,7 +837,7 @@ abstract final class PageUtils {
|
||||
seasonId: response.seasonId,
|
||||
epId: episode.epId,
|
||||
cover: episode.cover,
|
||||
progress: progress == null ? null : int.tryParse(progress),
|
||||
progress: progress,
|
||||
extraArguments: {
|
||||
'pgcApi': true,
|
||||
'pgcItem': response,
|
||||
@@ -886,7 +886,7 @@ abstract final class PageUtils {
|
||||
epId: episode.epId,
|
||||
pgcType: response.type,
|
||||
cover: episode.cover,
|
||||
progress: progress == null ? null : int.tryParse(progress),
|
||||
progress: progress,
|
||||
extraArguments: {
|
||||
'pgcItem': response,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user