协议修改
This commit is contained in:
@@ -12,9 +12,9 @@ export class AuthService {
|
||||
private constructor(private api = ApiClient.I) {}
|
||||
|
||||
// 登录
|
||||
public async login(req: proto.ProtoMsg.ILoginReq): Promise<ApiResponse<proto.ProtoMsg.ILoginRsp>> {
|
||||
let epData: Endpoint<proto.ProtoMsg.ILoginReq, proto.ProtoMsg.ILoginRsp> = {
|
||||
path: "login",
|
||||
public async login(req: proto.cs.ICSLoginReq): Promise<ApiResponse<proto.cs.ICSLoginRes>> {
|
||||
let epData: Endpoint<proto.cs.ICSLoginReq, proto.cs.ICSLoginRes> = {
|
||||
path: "api/acc/login",
|
||||
method: "POST",
|
||||
codec: "json",
|
||||
needsAuth: false
|
||||
|
||||
Reference in New Issue
Block a user