Support login with email

This commit is contained in:
2023-12-20 14:55:15 +08:00
parent 4d072e0de8
commit 73bfe53edc
5 changed files with 13 additions and 13 deletions

View File

@@ -1,9 +1,9 @@
import { URL_LOGIN, URL_LOGOUT } from '@/constants/urls.constants'
import request from '@/services'
export const r_auth_login = (username: string, password: string) =>
export const r_auth_login = (account: string, password: string) =>
request.post<TokenVo>(URL_LOGIN, {
username,
account,
password
})