lohir
2024-10-17 ac6bbef6786c74e7a86852b1b8bff7f23e8592d8
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');
}