opt: request method
This commit is contained in:
@ -18,7 +18,7 @@ class CommonHttp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static Future querySkipSegments({required String bvid}) async {
|
static Future querySkipSegments({required String bvid}) async {
|
||||||
var res = await Request().get(Api.getSkipSegments, data: {
|
var res = await Request().getWithoutCookie(Api.getSkipSegments, data: {
|
||||||
'videoID': bvid,
|
'videoID': bvid,
|
||||||
});
|
});
|
||||||
if (res.data is List && res.data.isNotEmpty) {
|
if (res.data is List && res.data.isNotEmpty) {
|
||||||
|
|||||||
Reference in New Issue
Block a user