From 8f944626296937a7dac6f7f7af4762654c06f982 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 05 三月 2024 10:21:02 +0800
Subject: [PATCH] 运维单位管理

---
 src/api/platform/unit.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/api/platform/unit.js b/src/api/platform/unit.js
index 017bd8e..6baf955 100644
--- a/src/api/platform/unit.js
+++ b/src/api/platform/unit.js
@@ -3,7 +3,7 @@
 // 鏌ヨ杩愮淮鍗曚綅鍒楄〃
 export function listUnit(query) {
   return request({
-    url: '/system/yw-unit/page',
+    url: '/yw-unit/page',
     method: 'get',
     params: query
   })
@@ -12,7 +12,7 @@
 // 鏌ヨ杩愮淮鍗曚綅璇︾粏
 export function getUnit(id) {
   return request({
-    url: '/system/yw-unit/' + id,
+    url: '/yw-unit/' + id,
     method: 'get'
   })
 }
@@ -20,7 +20,7 @@
 // 鏂板杩愮淮鍗曚綅
 export function addUnit(data) {
   return request({
-    url: '/system/yw-unit',
+    url: '/yw-unit',
     method: 'post',
     data: data
   })
@@ -29,7 +29,7 @@
 // 淇敼杩愮淮鍗曚綅
 export function updateUnit(data) {
   return request({
-    url: '/system/yw-unit',
+    url: '/yw-unit',
     method: 'put',
     data: data
   })
@@ -38,7 +38,7 @@
 // 鍒犻櫎杩愮淮鍗曚綅
 export function delUnit(id) {
   return request({
-    url: '/system/yw-unit/' + id,
+    url: '/yw-unit/' + id,
     method: 'delete'
   })
 }

--
Gitblit v1.8.0