From 646135b9c54d6ccf5d47af30bf208bdfe5005017 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 09 十二月 2025 10:31:44 +0800
Subject: [PATCH] fix: 二维码内容简化,只传一个id。根据id查询详细信息。

---
 src/api/product/wire.ts |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/api/product/wire.ts b/src/api/product/wire.ts
index dc28255..fbb713d 100644
--- a/src/api/product/wire.ts
+++ b/src/api/product/wire.ts
@@ -72,6 +72,23 @@
       method: "DELETE",
     });
   },
+
+  // 楠岃瘉鍙樻洿
+  verifyChanges(params: { projectId: number | string }) {
+    return request<BaseResult<any>>({
+      url: "/wireOutput/verifyChanges",
+      method: "GET",
+      data: params,
+    });
+  },
+
+  // 鏍规嵁鐖剁骇鐗╂枡缂栫爜鏌ヨ瑙勬牸鍨嬪彿鍒楄〃
+  getMaterialByParentCode(code: string) {
+    return request<BaseResult<any[]>>({
+      url: `/material/getMaterialByParentCode/${code}`,
+      method: "GET",
+    });
+  },
 };
 
 export default WireApi;

--
Gitblit v1.9.3