refa: split fav search page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-17 10:17:16 +08:00
parent d886569dc3
commit 0522dd5ad4
19 changed files with 537 additions and 390 deletions

View File

@@ -671,7 +671,7 @@ class MemberHttp {
}
// 搜索follow
static Future<LoadingState> getfollowSearch({
static Future<LoadingState<FollowDataModel>> getfollowSearch({
required int mid,
required int ps,
required int pn,

View File

@@ -443,7 +443,7 @@ class UserHttp {
// }
// 搜索历史记录
static Future<LoadingState> searchHistory(
static Future<LoadingState<HistoryData>> searchHistory(
{required int pn, required String keyword}) async {
var res = await Request().get(
Api.searchHistory,