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 | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/api/product/twist.ts b/src/api/product/twist.ts
index 3360277..086f1d3 100644
--- a/src/api/product/twist.ts
+++ b/src/api/product/twist.ts
@@ -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