guoshilong
2023-10-27 2311b03aee9db1bebacdd2ced13c071efda6a011
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import http from '@/http/api.js'
 
// 部门管理
export const getList = (params) => {
    return http.request({
        url: '/api/blade-system/post/list',
        method: 'GET',
        params
    })
}
 
export const remove = (ids) => {
  return http.request({
    url: '/api/blade-system/post/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
 
export const add = (row) => {
  return http.request({
    url: '/api/blade-system/post/submit',
    method: 'post',
    data: row
  })
}
 
export const update = (row) => {
  return http.request({
    url: '/api/blade-system/post/submit',
    method: 'post',
    data: row
  })
}