mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
@@ -13,9 +13,9 @@ import 'init.dart';
|
||||
class ReplyHttp {
|
||||
static Future<LoadingState> replyList({
|
||||
required int oid,
|
||||
required String nextOffset,
|
||||
required int type,
|
||||
int sort = 1,
|
||||
required int page,
|
||||
}) async {
|
||||
Options? options = GStorage.userInfo.get('userInfoCache') == null
|
||||
? Options(
|
||||
@@ -26,8 +26,9 @@ class ReplyHttp {
|
||||
data: {
|
||||
'oid': oid,
|
||||
'type': type,
|
||||
'pagination_str': '{"offset":"${nextOffset.replaceAll('"', '\\"')}"}',
|
||||
'mode': sort + 2, //2:按时间排序;3:按热度排序
|
||||
'sort': sort,
|
||||
'pn': page,
|
||||
'ps': 20,
|
||||
},
|
||||
options: options,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user