| | |
| | | // @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', |