协议增加:请求排行榜数据
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user