From 1d953c04aa9aad15dcf7d3e864293c0a5358e03c Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 14 Apr 2025 16:42:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=8B=E6=9E=B6=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hard/hard-spu.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/api/hard/hard-spu.ts b/src/api/hard/hard-spu.ts index 6253e35..f7fa6b6 100644 --- a/src/api/hard/hard-spu.ts +++ b/src/api/hard/hard-spu.ts @@ -26,6 +26,19 @@ export function putaway(data?: { id: any; hardSpuId: any }) { }) } +/** + * 下架 + * @param id 绑定id + * @param hardSpuId 商品id + */ +export function unPutaway(data?: { id: any; hardSpuId: any }) { + return request({ + url: "/hard/hard-spu/un-putaway", + method: "post", + data: data, + }) +} + export function asyncAll(query?: Object) { return request({ url: "/hard/hard-spu/async-all",