From 0a0e01138e0d9b6f370ae16ef1099e4c60d15c26 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 02 四月 2024 11:49:06 +0800
Subject: [PATCH] 新考核

---
 src/api/platform/check-publish.js |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/src/api/platform/publish.js b/src/api/platform/check-publish.js
similarity index 67%
rename from src/api/platform/publish.js
rename to src/api/platform/check-publish.js
index 283f27a..908e629 100644
--- a/src/api/platform/publish.js
+++ b/src/api/platform/check-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'
   })
 }

--
Gitblit v1.8.0