mirror of https://github.com/longtai-cn/hippo4j
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
384 B
24 lines
384 B
import request from '@/utils/request'
|
|
|
|
export function login(data) {
|
|
return request({
|
|
url: '/hippo4j/v1/cs/auth/login',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function getInfo() {
|
|
return request({
|
|
url: '/hippo4j/v1/cs/user/info',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function logout() {
|
|
return request({
|
|
url: '/hippo4j/v1/cs/user/logout',
|
|
method: 'post'
|
|
})
|
|
}
|