From 3ad959c36aa932d0f0e317871ebbc9e4d3b7af07 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 21 Apr 2025 10:22:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:app=E6=A3=80=E4=BF=AE=E5=BC=80=E9=97=A8?= =?UTF-8?q?=E3=80=81=E5=85=B3=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sheep/api/door.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/sheep/api/door.ts b/src/sheep/api/door.ts index d5a84a6..c700347 100644 --- a/src/sheep/api/door.ts +++ b/src/sheep/api/door.ts @@ -159,4 +159,33 @@ export default { showLoading: false, }, }), + /** + * app检修开门 + * @param hardDoorId 智能柜id + * @param cabinetNo 货柜编号 + */ + openAccess: (data: { hardDoorId: string; cabinetNo: string }): Promise => + request({ + url: "hard/hard-door-flow/app/open-access", + method: "POST", + data, + custom: { + showLoading: false, + }, + }), + + /** + * app检修关门 + * @param hardDoorId 智能柜id + * @param cabinetNo 货柜编号 + */ + closeAccess: (data: { hardDoorId: string; cabinetNo: string }): Promise => + request({ + url: "hard/hard-door-flow/app/close-access", + method: "POST", + data, + custom: { + showLoading: false, + }, + }), }