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.
hippo4j/threadpool/console/src/api/user.js

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'
})
}