From 093615ab71eebddeea28a74a6c21898fc929450f Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期一, 04 八月 2025 14:43:22 +0800
Subject: [PATCH] 判断检测项,调整请求
---
src/api/structural/capability.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/api/structural/capability.js b/src/api/structural/capability.js
index edc0b50..7dc11ab 100644
--- a/src/api/structural/capability.js
+++ b/src/api/structural/capability.js
@@ -28,7 +28,7 @@
export function delItemParameter(query) {
return request({
url: '/capacityScope/delItemParameter',
- method: 'post',
+ method: 'delete',
params: query
})
}
@@ -59,7 +59,7 @@
export function delTestObject(query) {
return request({
url: '/capacityScope/delTestObject',
- method: 'post',
+ method: 'delete',
params: query
})
}
@@ -91,7 +91,7 @@
export function delProduct(query) {
return request({
url: '/capacityScope/delProduct',
- method: 'post',
+ method: 'delete',
params: query
})
}
@@ -141,11 +141,11 @@
data: query
})
}
-// 淇敼浜у搧鍘傚瀵嗗害缁戝畾
+// 鍒犻櫎浜у搧鍘傚瀵嗗害缁戝畾
export function deleteProductSupplierDensity(query) {
return request({
url: '/productSupplierDensity/deleteProductSupplierDensity',
- method: 'post',
+ method: 'delete',
params: query
})
}
--
Gitblit v1.9.3