// /api/v1/mobile/checkinRoomInfo 获取入住房间和门锁设备信息 export const getCheckinInfoAndLockInfo = (data) => { return uni.$http.get(`/mobile/checkinRoomInfo`, data); }; // /api/v1/mobile/lockKey/{hotelId} 获取蓝牙设备密钥 export const getBluetoothKey = (hotelId) => { return uni.$http.get(`/mobile/lockKey/${hotelId}`); }; // /api/v1/mobile/uploadDoorLog/{hotelId} 上传开门记录 export const uploadDoorLog = (hotelId, data) => { return uni.$http.post(`/mobile/uploadDoorLog/${hotelId}`, data); }; // /api/v1/mobile/uploadPowerLog/{hotelId} 上传门锁电量 export const uploadPowerLog = (hotelId, data) => { return uni.$http.post(`/mobile/uploadPowerLog/${hotelId}`, data); }; // 远程开门 export const remoteOpenDoor = (hotelId, bluetoothId) => { return uni.$http.post(`/mobile/openDoor/${hotelId}/${bluetoothId}`); }; // 小程序上传每次的蓝牙开门的记录 /api/v1/miniScmApp/bleOpLogs export const unloadBLEOpenDoorLog = (data) => { return uni.$http.post(`/bleOpLogs`, data); }; // 获取顾客入住记录 export const getCheckinInfo = (data) => { return uni.$http.post("/checkinInfo/queryByCondition", data) } // 获取顾客梯控二维码 export const getElevatorQRCode = (data) => { return uni.$http.post("/qrCode", data) }