mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 03:15:14 +08:00
@@ -53,11 +53,11 @@ class PgcReviewController
|
||||
|
||||
@override
|
||||
Future<LoadingState<PgcReviewData>> customGetData() => PgcHttp.pgcReview(
|
||||
type: type,
|
||||
mediaId: mediaId,
|
||||
next: next,
|
||||
sort: sortType.value.sort,
|
||||
);
|
||||
type: type,
|
||||
mediaId: mediaId,
|
||||
next: next,
|
||||
sort: sortType.value.sort,
|
||||
);
|
||||
|
||||
Future<void> onLike(PgcReviewItemModel item, bool isLike, reviewId) async {
|
||||
var res = await PgcHttp.pgcReviewLike(
|
||||
@@ -79,7 +79,10 @@ class PgcReviewController
|
||||
}
|
||||
|
||||
Future<void> onDislike(
|
||||
PgcReviewItemModel item, bool isDislike, reviewId) async {
|
||||
PgcReviewItemModel item,
|
||||
bool isDislike,
|
||||
reviewId,
|
||||
) async {
|
||||
var res = await PgcHttp.pgcReviewDislike(
|
||||
mediaId: mediaId,
|
||||
reviewId: reviewId,
|
||||
|
||||
Reference in New Issue
Block a user