|
@@ -54,3 +54,17 @@ export function getDeviceInfoFromQrcode(qrcode){
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+//获取设备预约
|
|
|
|
|
+export function getPlanInfo(deviceId,port){
|
|
|
|
|
+ return request({
|
|
|
|
|
+ url: '/device/getPlanInfo?deviceId='+deviceId+"&port="+port,
|
|
|
|
|
+ method: 'post',
|
|
|
|
|
+ })
|
|
|
|
|
+}
|
|
|
|
|
+//取消预约
|
|
|
|
|
+export function cancelPlan(planId){
|
|
|
|
|
+ return request({
|
|
|
|
|
+ url: '/device/cancelPlan/'+planId,
|
|
|
|
|
+ method: 'post',
|
|
|
|
|
+ })
|
|
|
|
|
+}
|