协议增加:请求排行榜数据

This commit is contained in:
chen wei bo
2025-10-08 15:48:22 +08:00
parent 8b4f2d7262
commit 558b9ca240
9 changed files with 182 additions and 9 deletions
@@ -72,4 +72,15 @@ export class HttpGirlService implements IGirlService {
};
return this.api.call(epData, req);
}
// 获取排行榜列表
async reqGirlRankData(req: proto.cs.ICSGetRankReq): Promise<ApiResponse<proto.cs.ICSGetRankRes>> {
let epData: Endpoint<proto.cs.ICSGetRankReq, proto.cs.ICSGetRankRes> = {
path: "api/logic/getRank",
method: "POST",
codec: "json",
needsAuth: true
};
return this.api.call(epData, req);
}
}