35 lines
722 B
TypeScript
35 lines
722 B
TypeScript
import request from "@/sheep/utils/request"
|
|
|
|
export default {
|
|
/**
|
|
* app获取智能柜授权信息
|
|
* @param doorHardId 智能柜设备id
|
|
* @param cabinetNo 货柜编号
|
|
* @returns
|
|
*/
|
|
appGetAuthHardDoor: (data: { doorHardId: any; cabinetNo: any }) =>
|
|
request({
|
|
url: "hard/hard-auth/app/get-auth-hard-door",
|
|
method: "POST",
|
|
data,
|
|
custom: {
|
|
showLoading: false,
|
|
},
|
|
}),
|
|
/**
|
|
* app获取智能柜授权信息
|
|
* @param authId 授权id
|
|
* @param authStatus 是否授权
|
|
* @returns
|
|
*/
|
|
appAuthHardDoor: (data: { authId: any; authStatus: any }) =>
|
|
request({
|
|
url: "hard/hard-auth/app/get-auth-hard-door",
|
|
method: "POST",
|
|
data,
|
|
custom: {
|
|
showLoading: false,
|
|
},
|
|
}),
|
|
}
|