You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.3 KiB

1 year ago
  1. let api={}
  2. api.openLock = "v1/device/isp/openLock" //远程开锁
  3. api.oauthKey = "oauth/key" //验证码
  4. api.login = "oauth/token" //登录
  5. api.sendCommand = "v1/device/send/command" //通用接口
  6. api.getuserInfo = "v1/account/user/info" //获取账户信息
  7. api.getcardlist = "v1/card/get/list" //获取人员(卡)列表
  8. api.getDeviceOperateUserInfo = "v1/device/isp/operateUserInfo" // 下发凭证用户命令
  9. api.addCertificates = "v1/device/add/certificate" //添加凭证
  10. api.getIntegration = "v1/card/get/integration" //获取首页列表
  11. api.getSiteList = "v1/site/get/list" //获取房间列表信息
  12. // api.getuserInfo = "v1/account/user/info"//获取用户信息
  13. api.getDeviceItems = "v1/device/get/items"//获取设备
  14. api.getTree = "v1/site/get/tree" //获取所有房源
  15. api.bindDeviceSite = "v1/device/bind/site" // 绑定房间
  16. api.unbindDeviceSite = "v1/device/unbind/site" // 解除绑定房间
  17. api.getOpenRecord = "v1/device/get/open/record"//获取开门数据
  18. api.addOpenRecord = "v1/device/add/openRecord"//添加开门记录
  19. api.getSiteTenant = "v1/site/get/tenant" //获取已入住人员信息
  20. api.addCard = "v1/card/add" //创建人员(卡)
  21. api.bindCard = "v1/site/bind/card" //绑定房间
  22. api.queryList = "v1/card/query/list"//获取卡号(IMEI)
  23. export {
  24. api
  25. }