Add user management page
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import request from '@/services'
|
||||
import { URL_API_LOGIN, URL_API_LOGOUT } from '@/constants/urls.constants'
|
||||
import { URL_LOGIN, URL_LOGOUT } from '@/constants/urls.constants'
|
||||
|
||||
export const r_auth_login = (username: string, password: string) =>
|
||||
request.post<TokenVo>(URL_API_LOGIN, {
|
||||
request.post<TokenVo>(URL_LOGIN, {
|
||||
username,
|
||||
password
|
||||
})
|
||||
|
||||
export const r_auth_logout = () => request.post(URL_API_LOGOUT)
|
||||
export const r_auth_logout = () => request.post(URL_LOGOUT)
|
||||
|
||||
Reference in New Issue
Block a user