新增协议:推荐列表
This commit is contained in:
@@ -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> = {
|
||||
|
||||
Reference in New Issue
Block a user