From 19fb7e7af8464bc88088d8bbc80c481752827994 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 04 八月 2025 14:31:19 +0800 Subject: [PATCH] fix: 修改底层 --- src/services/api/auth.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/api/auth.ts b/src/services/api/auth.ts index 1c77983..27f5cb5 100644 --- a/src/services/api/auth.ts +++ b/src/services/api/auth.ts @@ -2,12 +2,12 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 瀵嗙爜鐧诲綍 POST /api/user/auth/password-login */ +/** 瀵嗙爜鐧诲綍 POST /api/user/auth/passwordLogin */ export async function authPasswordLogin( - body: API.AuthPasswordLoginCommand, + body: API.PasswordLoginCommand, options?: API.RequestConfig ) { - return request<API.AuthPasswordLoginCallback>('/api/user/auth/password-login', { + return request<API.PasswordLoginCommandCallback>('/api/user/auth/passwordLogin', { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', -- Gitblit v1.9.1