fuliqi
2024-04-02 0a0e01138e0d9b6f370ae16ef1099e4c60d15c26
src/api/platform/check-publish.js
File was renamed from src/api/platform/publish.js
@@ -3,7 +3,7 @@
// 查询考核发布列表
export function listPublish(query) {
  return request({
    url: '/system/publish/list',
    url: '/check/publish/list',
    method: 'get',
    params: query
  })
@@ -12,7 +12,7 @@
// 查询考核发布详细
export function getPublish(id) {
  return request({
    url: '/system/publish/' + id,
    url: '/check/publish/' + id,
    method: 'get'
  })
}
@@ -20,7 +20,7 @@
// 新增考核发布
export function addPublish(data) {
  return request({
    url: '/system/publish',
    url: '/check/publish',
    method: 'post',
    data: data
  })
@@ -29,7 +29,7 @@
// 修改考核发布
export function updatePublish(data) {
  return request({
    url: '/system/publish',
    url: '/check/publish',
    method: 'put',
    data: data
  })
@@ -38,15 +38,7 @@
// 删除考核发布
export function delPublish(id) {
  return request({
    url: '/system/publish/' + id,
    url: '/check/publish/' + id,
    method: 'delete'
  })
}
// 获取考核下拉列表
export function publishSelect() {
  return request({
    url: '/system/publish/all',
    method: 'get'
  })
}