董国庆
2025-05-09 1224f7cc2c2f42a8b70466d14b15d443da1e27fd
laboratory/src/views/system/user/service.js
@@ -7,12 +7,12 @@
// 添加
export const add = (data) => {
  return axios.post('/system/user/add', { ...data })
  return axios.post('/api/system/user/add', { ...data })
}
// 编辑
export const edit = (data) => {
  return axios.post('/system/user/edit', { ...data })
  return axios.post('/api/system/user/edit', { ...data })
}
// 删除
@@ -34,8 +34,8 @@
}
export const updatePwd = (data) => {
  return axios.post(`/system/user/resetPwd`, { ...data })
  return axios.post(`/api/system/user/resetPwd`, { ...data })
}
export const typeList = (data) => {
export const typeList = () => {
  return axios.get(`/t-business-dept/list/type?type=1`,)
}