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.

37 lines
560 B

9 months ago
import _axios from "@/plugins/axios";
//登录
export function login(data) {
return _axios({
url: `v1/auth`,
method: "POST",
data,
});
}
//注册
export function registe(data) {
return _axios({
url: `v1/adduser`,
method: "POST",
data,
});
}
//注册列表
export function registeList(data) {
return _axios({
url: `v1/getUserList`,
method: "POST",
data,
});
}
//登陆历史列表
export function loginHistoryList(data) {
return _axios({
url: `v1/getUserLoginList`,
method: "POST",
data,
});
}