k94314517
2024-05-22 a0ab72579f3cb4b1e9b7b2860e229e96f2c6c088
admin/src/api/system/department.js
@@ -2,22 +2,22 @@
// 查询
export function fetchTree () {
  return request.post('/system/department/tree')
  return request.post('/visitsAdmin/cloudService/system/department/tree')
}
// 查询部门用户
export function fetchUserList (data) {
  return request.post('/system/department/users', data)
  return request.post('/visitsAdmin/cloudService/system/department/users', data)
}
// 新建
export function create (data) {
  return request.post('/system/department/create', data)
  return request.post('/visitsAdmin/cloudService/system/department/create', data)
}
// 修改
export function updateById (data) {
  return request.post('/system/department/updateById', data)
  return request.post('/visitsAdmin/cloudService/system/department/updateById', data)
}
// 删除