增加游戏内上报打点请求
This commit is contained in:
@@ -17,4 +17,15 @@ export class HttpAuthService implements IAuthService {
|
||||
};
|
||||
return this.api.call(ep, req);
|
||||
}
|
||||
|
||||
/** 上报事件 */
|
||||
async pointEvent(req: proto.cs.ICSPointEventReq): Promise<ApiResponse<proto.cs.ICSPointEventRes>> {
|
||||
const ep: Endpoint<proto.cs.ICSPointEventReq, proto.cs.ICSPointEventRes> = {
|
||||
path: "api/logic/pointEvent",
|
||||
method: "POST",
|
||||
codec: "json",
|
||||
needsAuth: false,
|
||||
};
|
||||
return this.api.call(ep, req);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user