yanjinhui
2025-08-28 554ea194fa4332e97c3def7e010acecde26b48d5
ÏîÄ¿´úÂë/ǰ¶Ë/ºǫ́/src/api/newapi/user.js
@@ -24,7 +24,8 @@
//修改密码 id=${data.id}&
export const UpdatePassword = (data) => request.post({ url: `/api/User/modifyPwd?newPwd=${data.newPwd}&oldPwd=${data.oldPwd}` })
//
export const UpdatePwd = (data) => request.post({ url: `/api/User/UpdatePwd?id=${data.id}&newPwd=${data.newPwd}&oldPwd=${data.oldPwd}` })
// export const UpdatePwd = (data) => request.post({ url: `/api/User/UpdatePwd?id=${data.id}&newPwd=${data.newPwd}&oldPwd=${data.oldPwd}` })
export const UpdatePwd = (data) =>http.post(`/api/User/UpdatePwd?id=${encodeURIComponent(data.id)}&newPwd=${encodeURIComponent(data.newPwd)}&oldPwd=${encodeURIComponent(data.oldPwd)}`)
//导出用户列表
export const ExportApi = (data) => http.download("/api/User/Export", data, "用户列表数据.xlsx", "加载中");