消逝
2024-07-11 b26be1815fed07e41f20f927119f48125a21204f
src/api/modules/user.js
@@ -1,6 +1,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');
}