feat:app检修开门、关门

This commit is contained in:
dzc committed 2025-04-21 10:22:31 +08:00
1 parent cb9117ead5
commit 3ad959c36a
1 file changed
+29
+29
View File
@@ -159,4 +159,33 @@ export default {
showLoading: false,
},
}),
/**
* app检修开门
* @param hardDoorId 智能柜id
* @param cabinetNo 货柜编号
*/
openAccess: (data: { hardDoorId: string; cabinetNo: string }): Promise<any> =>
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<any> =>
request({
url: "hard/hard-door-flow/app/close-access",
method: "POST",
data,
custom: {
showLoading: false,
},
}),
}