let api={}
api.openLock = "v1/device/isp/openLock" //远程开锁
api.oauthKey = "oauth/key" //验证码
api.login = "oauth/token" //登录
api.sendCommand = "v1/device/send/command" //通用接口
api.getuserInfo = "v1/account/user/info" //获取账户信息
api.getcardlist = "v1/card/get/list" //获取人员（卡）列表
api.getDeviceOperateUserInfo = "v1/device/isp/operateUserInfo" // 下发凭证用户命令
api.addCertificates = "v1/device/add/certificate" //添加凭证
api.getIntegration = "v1/card/get/integration" //获取首页列表
api.getSiteList = "v1/site/get/list" //获取房间列表信息
// api.getuserInfo = "v1/account/user/info"//获取用户信息
api.getDeviceItems = "v1/device/get/items"//获取设备
api.getTree = "v1/site/get/tree" //获取所有房源
api.bindDeviceSite = "v1/device/bind/site" // 绑定房间
api.unbindDeviceSite = "v1/device/unbind/site" // 解除绑定房间
api.getOpenRecord = "v1/device/get/open/record"//获取开门数据
api.addOpenRecord = "v1/device/add/openRecord"//添加开门记录
api.getSiteTenant = "v1/site/get/tenant" //获取已入住人员信息
api.addCard = "v1/card/add" //创建人员（卡）
api.bindCard = "v1/site/bind/card" //绑定房间
api.queryList = "v1/card/query/list"//获取卡号（IMEI）
export {
  api
}