协议增加,收藏角色,收藏列表

This commit is contained in:
chen wei bo
2025-10-08 16:03:24 +08:00
parent 558b9ca240
commit 6f809504a7
4 changed files with 58 additions and 0 deletions
@@ -83,4 +83,26 @@ export class HttpGirlService implements IGirlService {
};
return this.api.call(epData, req);
}
// 收藏技师
async reqBookmarkGirl(req: proto.cs.ICSBookmarkReq): Promise<ApiResponse<proto.cs.ICSBookmarkRes>> {
let epData: Endpoint<proto.cs.ICSBookmarkReq, proto.cs.ICSBookmarkRes> = {
path: "api/logic/bookmark",
method: "POST",
codec: "json",
needsAuth: true
};
return this.api.call(epData, req);
}
// 获取收藏列表
async reqBookmarkGirlList(req: proto.cs.ICSGetBookmarkReq): Promise<ApiResponse<proto.cs.ICSGetBookmarkRes>> {
let epData: Endpoint<proto.cs.ICSGetBookmarkReq, proto.cs.ICSGetBookmarkRes> = {
path: "api/logic/getBookmark",
method: "POST",
codec: "json",
needsAuth: true
};
return this.api.call(epData, req);
}
}