mod: reply2reply: query root

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-10 17:22:59 +08:00
parent ca1d084fc6
commit 3d67c5939c
3 changed files with 36 additions and 6 deletions

View File

@@ -193,6 +193,17 @@ class GrpcRepo {
});
}
static Future replyInfo({
required int rpid,
}) async {
return await _request(() async {
final request = ReplyInfoReq()..rpid = Int64(rpid);
final response = await GrpcClient.instance.replyClient
.replyInfo(request, options: options);
return {'status': true, 'data': response.reply};
});
}
static Future mainList({
int type = 1,
required int oid,