新增协议:推荐列表

This commit is contained in:
chen wei bo
2025-10-10 18:15:54 +08:00
parent d59eca2a90
commit 46bf60d09d
11 changed files with 257 additions and 35 deletions
@@ -18,6 +18,17 @@ export class HttpGirlService implements IGirlService {
return this.api.call(epData, req);
}
// 推荐列表
async reqRecommendList(req: proto.cs.ICSRecommendReq): Promise<ApiResponse<proto.cs.ICSRecommendRes>> {
let epData: Endpoint<proto.cs.ICSRecommendReq, proto.cs.ICSRecommendRes> = {
path: "api/logic/recommend",
method: "POST",
codec: "json",
needsAuth: true
};
return this.api.call(epData, req);
}
// 获取技师列表
async reqGetGirlList(req: proto.cs.ICSGetGirlListReq): Promise<ApiResponse<proto.cs.ICSGetGirlListRes>> {
let epData: Endpoint<proto.cs.ICSGetGirlListReq, proto.cs.ICSGetGirlListRes> = {