fuliqi
2024-07-12 93271cd2498d73e9dc35e572d8c31ae9645b7d8b
1
2
3
4
5
6
7
8
9
10
11
import service from "@/api";
 
// 登录请求
export const login = (postData = {}) => {
  return service.post('/api/user/login', postData);
}
 
// 退出登录
export const logout = () => {
    return service.post('/api/user/logout');
}