refa: query data (#659)

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-04-10 21:43:01 +08:00
committed by GitHub
parent 99b19e7b03
commit e1b73f4766
128 changed files with 1493 additions and 1987 deletions

View File

@@ -124,7 +124,7 @@ class ReplyHttp {
}
}
static Future<LoadingState> replyListGrpc({
static Future<LoadingState<MainListReply>> replyListGrpc({
int type = 1,
required int oid,
required CursorReq cursor,
@@ -387,7 +387,8 @@ class ReplyHttp {
}
}
static Future<LoadingState> getEmoteList({String? business}) async {
static Future<LoadingState<List<Packages>?>> getEmoteList(
{String? business}) async {
var res = await Request().get(Api.myEmote, queryParameters: {
'business': business ?? 'reply',
'web_location': '333.1245',