只看楼主、热门/最早/最新回复查看

This commit is contained in:
目棃
2024-09-03 13:27:44 +08:00
parent 4d0442a0f0
commit 9e0f624f17
2 changed files with 158 additions and 23 deletions

View File

@@ -41,6 +41,7 @@ export async function getPostReply(
params["order_type"] = orderType;
}
if (onlyMaster) {
params["is_hot"] = false;
params["only_master"] = onlyMaster;
}
const link = "https://bbs-api.miyoushe.com/post/wapi/getPostReplies";
@@ -91,7 +92,7 @@ export async function getPostSubReply(
floorId: number,
gid: number,
postId: string,
lastId: string,
lastId?: string,
size: number = 20,
): Promise<TGApp.Plugins.Mys.Reply.SubData | TGApp.BBS.Response.Base> {
const params: Record<string, string | number> = {