From af4f45eaa2703ecf991bd10f07f6df179f2677d9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 19 十一月 2025 10:04:45 +0800
Subject: [PATCH] Merge branch 'refs/heads/yyb'

---
 src/api/product/twist.ts |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/api/product/twist.ts b/src/api/product/twist.ts
index 75c2f0d..086f1d3 100644
--- a/src/api/product/twist.ts
+++ b/src/api/product/twist.ts
@@ -71,7 +71,7 @@
     });
   },
 
-  // 鏂板鍗曚笣棰嗙敤妫�鏌�
+  // 鏂板缁炵嚎鍗曚笣棰嗙敤妫�鏌�
   addSingleDishInspection(data: any) {
     return request<BaseResult<any>>({
       url: "/wireInspection/saveSingleDishInspection",
@@ -79,6 +79,24 @@
       data: data,
     });
   },
+
+  // 鍒犻櫎鍗曚笣棰嗙敤
+  deleteStrandedWireDish(id: number) {
+    return request<BaseResult<any>>({
+      url: `/strandedWire/deleteStrandedWireDish/${id}`,
+      method: "DELETE",
+    });
+  },
+
+  // 鍒犻櫎缁炵嚎鎶ュ伐
+  deleteWireOutput(params: { id: number }) {
+    // 灏嗗弬鏁版嫾鎺ュ埌 URL 浣滀负 query 鍙傛暟
+    const queryString = `?id=${params.id}`;
+    return request<BaseResult<any>>({
+      url: `/strandedWire/deleteWireOutput${queryString}`,
+      method: "DELETE",
+    });
+  },
 };
 
 export default TwistApi;

--
Gitblit v1.9.3