WXL
2025-02-19 ec64a69276a1a7fa64096d45e2f804fd38d99d17
src/api/system/post.js
@@ -29,8 +29,8 @@
// 修改岗位
export function updatePost(data) {
  return request({
    url: '/system/post',
    method: 'put',
    url: '/system/post/edit',
    method: 'post',
    data: data
  })
}
@@ -38,7 +38,7 @@
// 删除岗位
export function delPost(postId) {
  return request({
    url: '/system/post/' + postId,
    method: 'delete'
    url: '/system/post/remove/' + postId,
    method: 'get'
  })
}