fuliqi
2024-10-17 96783deec8d19e03d4484751df0a2ccd252a9716
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import service from "@/api";
 
// 登录请求
export const login = (postData = {}) => {
  return service.post('/api/user/login', postData);
}
 
// 退出登录
export const logout = () => {
    return service.post('/api/user/logout');
}
//修改密码
export const updatePassword = (data= {}) => {
    return service.post('/api/common/user/update/password', data)
}