yanjinhui
2025-10-20 114ffafeeb20ef7066cb2e2882bb58b96f791ab5
ÏîÄ¿´úÂë/ǰ¶Ë/ºǫ́/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", "加载中");