mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
opt: space tab
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -76,7 +76,7 @@ class SearchHttp {
|
||||
queryParameters: params,
|
||||
);
|
||||
if (res.data is! Map) {
|
||||
return Error('没有相关数据');
|
||||
return const Error('没有相关数据');
|
||||
}
|
||||
if (res.data['code'] == 0) {
|
||||
dynamic data;
|
||||
@@ -144,7 +144,7 @@ class SearchHttp {
|
||||
queryParameters: params,
|
||||
);
|
||||
if (res.data is! Map) {
|
||||
return Error('没有相关数据');
|
||||
return const Error('没有相关数据');
|
||||
}
|
||||
if (res.data['code'] == 0) {
|
||||
try {
|
||||
|
||||
@@ -241,7 +241,7 @@ class UserHttp {
|
||||
);
|
||||
if (res.data['code'] == 0) {
|
||||
if (res.data['data']['count'] == 0) {
|
||||
return Success({'count': 0});
|
||||
return const Success({'count': 0});
|
||||
}
|
||||
List<HotVideoItemModel> list = <HotVideoItemModel>[];
|
||||
if (res.data['data']?['list'] != null) {
|
||||
|
||||
Reference in New Issue
Block a user