liuQiang 2 жил өмнө
parent
commit
f297182de0

+ 2 - 2
src/api/backend/fpdDetection.js

@@ -13,7 +13,7 @@ export function createFpdDetection(data) {
 export function updateFpdDetection(data) {
   return request({
     url: '/backend/fpd-detection/update',
-    method: 'put',
+    method: 'post',
     data: data
   })
 }
@@ -22,7 +22,7 @@ export function updateFpdDetection(data) {
 export function deleteFpdDetection(id) {
   return request({
     url: '/backend/fpd-detection/delete?id=' + id,
-    method: 'delete'
+    method: 'post'
   })
 }