Quellcode durchsuchen

防区状态调用接口调整

jiawuxian vor 2 Jahren
Ursprung
Commit
b4d2d91429
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      src/api/protection.js

+ 4 - 4
src/api/protection.js

@@ -3,7 +3,7 @@ import request from '@/utils/request'
 // 查询【请填写功能名称】列表
 export function list(query) {
   return request({
-    url: '/core/resumption/protection/page',
+    url: '/core/resumption/protectionstatus/page',
     method: 'get',
     params: query
   })
@@ -12,7 +12,7 @@ export function list(query) {
 // 更新状态
 export function updateStatus(id, status) {
   return request({
-    url: `/core/resumption/protection/updatestatus/${id}/${status}`,
+    url: `/core/resumption/protectionstatus/updatestatus/${id}/${status}`,
     method: 'post'
   })
 }
@@ -20,7 +20,7 @@ export function updateStatus(id, status) {
 // 查询【请填写功能名称】详细
 export function get(id) {
   return request({
-    url: "/core/resumption/protection/" + id,
+    url: "/core/resumption/protectionstatus/" + id,
     method: "get",
   });
 }
@@ -30,7 +30,7 @@ export function history(query) {
   // query.startTime=new Date().toLocaleString()
   // delete query.updateTime;
   return request({
-    url: `/core/resumption/protection/log/page`,
+    url: `/core/resumption/protectionstatus/log/page`,
     method: "get",
     params:query
   });