feat:app检修开门、关门
This commit is contained in:
1 parent
cb9117ead5
commit
3ad959c36a
1 file changed
+29
@@ -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,
|
||||
},
|
||||
}),
|
||||
}
|
||||
Reference in new issue
Block a user