11
WXL
2024-03-14 1c08c6dcbe0f81bd8cff8a363e0d6f5c996474be
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,8 +38,8 @@
// 删除岗位
export function delPost(postId) {
  return request({
    url: '/system/post/' + postId,
    method: 'delete'
    url: '/system/post/remove/' + postId,
    method: 'get',
  })
}