玩家数据

This commit is contained in:
chen wei bo
2025-08-18 15:23:04 +08:00
parent 0a1e33bd55
commit 8f9c5f209a
4 changed files with 66 additions and 6 deletions
@@ -13,12 +13,12 @@ export class AuthService {
// 登录
public async login(req: proto.ProtoMsg.ILoginReq): Promise<ApiResponse<proto.ProtoMsg.ILoginRsp>> {
let EP_LOGIN: Endpoint<proto.ProtoMsg.ILoginReq, proto.ProtoMsg.ILoginRsp> = {
let epData: Endpoint<proto.ProtoMsg.ILoginReq, proto.ProtoMsg.ILoginRsp> = {
path: "login",
method: "POST",
codec: "json",
needsAuth: false
};
return this.api.call(EP_LOGIN, req);
return this.api.call(epData, req);
}
}