From d9552fc9f6dcb8fe09fa4c7934f94c5649841364 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 21 Apr 2025 09:36:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?app=E6=9F=A5=E8=AF=A2=E5=95=86=E6=88=B7?= =?UTF-8?q?=E5=85=A8=E9=83=A8=E6=B5=81=E6=B0=B4=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sheep/api/flowStatistics.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/sheep/api/flowStatistics.ts b/src/sheep/api/flowStatistics.ts index 367bd3f..40cb68e 100644 --- a/src/sheep/api/flowStatistics.ts +++ b/src/sheep/api/flowStatistics.ts @@ -1,6 +1,9 @@ import request from "@/sheep/utils/request" export default { + /** + * app查询商户每天流水记录 + */ page: (params: any) => request({ url: "/hard/hard-total/app/mch-water-day", @@ -10,4 +13,16 @@ export default { showLoading: false, }, }), + /** + * app查询商户全部流水记录 + */ + mchWaterTotal: (params: any) => + request({ + url: "/hard/hard-total/app/mch-water-total", + method: "GET", + params, + custom: { + showLoading: false, + }, + }), } 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 2/2] =?UTF-8?q?feat:app=E6=A3=80=E4=BF=AE=E5=BC=80?= =?UTF-8?q?=E9=97=A8=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, + }, + }), }