协议增加,查看图片或者视频上报,用于排行榜

This commit is contained in:
chen wei bo
2025-10-09 14:21:05 +08:00
parent 6f809504a7
commit 953e90ce2a
5 changed files with 37 additions and 2 deletions
@@ -84,6 +84,17 @@ export class HttpGirlService implements IGirlService {
return this.api.call(epData, req);
}
// 查看图片或者视频上报,用于排行榜
async reqViewGirl(req: proto.cs.ICSViewGirlReq): Promise<ApiResponse<proto.cs.ICSViewGirlRes>> {
let epData: Endpoint<proto.cs.ICSViewGirlReq, proto.cs.ICSViewGirlRes> = {
path: "api/logic/viewGirl",
method: "POST",
codec: "json",
needsAuth: true
};
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> = {