Revert "opt: non null (#1091)"

This reverts commit 3c34e43827.
This commit is contained in:
bggRGjQaUbCoE
2025-08-23 22:05:35 +08:00
parent b77403f03f
commit ee819bb260
75 changed files with 362 additions and 400 deletions

View File

@@ -5,8 +5,8 @@ import 'package:PiliPlus/models_new/fans/data.dart';
class FanHttp {
static Future<LoadingState<FansData>> fans({
required int vmid,
required int pn,
int? vmid,
int? pn,
int ps = 20,
String? orderType,
}) async {
@@ -17,7 +17,7 @@ class FanHttp {
'pn': pn,
'ps': ps,
'order': 'desc',
'order_type': ?orderType,
'order_type': orderType,
},
);
if (res.data['code'] == 0) {