bug
lohir
2024-10-16 8eca7f0ae530e4d7e93705c7e701f8c6cd6d0e22
src/api/modules/user.js
@@ -1,7 +1,11 @@
import service from "@/api";
// 登录请求
export const login = (postData = {}) => {
  console.log(postData);
  return service.post('/api/user/login', postData);
}
// 退出登录
export const logout = () => {
    return service.post('/api/user/logout');
}