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.

21 lines
425 B

import request from "@/utils/request";
// 获取当前用户个人资料
export function UserBaseInfo() {
return request({
url: "/api/permission/Users/Current/BaseInfo",
method: "GET",
});
}
// 账号注销
export function logoutCurrentUser(token) {
return request({
url: '/api/oauth/logoutCurrentUser',
method: 'post',
token,
header: {
'Content-Type': 'application/x-www-form-urlencoded',
}
})
}