From 831734bad9a41afb3e89613113d0475c538adf55 Mon Sep 17 00:00:00 2001 From: weiwei Date: Mon, 21 Apr 2025 15:06:42 +0800 Subject: [PATCH] 1 --- src/sheep/api/door.ts | 15 +++++++++++++++ src/sheep/api/flowStatistics.ts | 13 +++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/sheep/api/door.ts b/src/sheep/api/door.ts index d5a84a6..4a4b1bd 100644 --- a/src/sheep/api/door.ts +++ b/src/sheep/api/door.ts @@ -159,4 +159,19 @@ export default { showLoading: false, }, }), + + /** + * app检修开门 + * @param hardDoorId 智能柜id米 + * @param cabinetNo 货柜编号 + */ + openAccess: (data: { hardDoorId: string; cabinetNo: string }) => + request({ + url: "hard/hard-door-flow/app/open-access", + method: "POST", + data, + custom: { + showLoading: false, + }, + }), } diff --git a/src/sheep/api/flowStatistics.ts b/src/sheep/api/flowStatistics.ts index 367bd3f..5e08675 100644 --- a/src/sheep/api/flowStatistics.ts +++ b/src/sheep/api/flowStatistics.ts @@ -10,4 +10,17 @@ export default { showLoading: false, }, }), + + /** + * app查询商户全部流水记录 + */ + mchWaterTotal: (params: any) => + request({ + url: "/hard/hard-total/app/mch-water-total", + method: "GET", + params, + custom: { + showLoading: false, + }, + }), }