equ.js 834 B

123456789101112131415161718192021222324252627282930
  1. import request from "@/utils/request.js";
  2. // 会员所有绑定设备列表接口
  3. export function getEquList(data) {
  4. return request.get("app-api/member/user-device-bind/bind-list", data, {
  5. });
  6. }
  7. export function bindEqu(data) {
  8. return request.post('app-api/member/user-device-bind/bind', data, {
  9. noAuth: true
  10. });
  11. }
  12. // 获取关系列表接口
  13. export function getDetailList(data) {
  14. return request.get("app-api/member/user-relation/detail-list", data, {
  15. noAuth: true
  16. });
  17. }
  18. // 关系列表创建
  19. export function createRelation(data) {
  20. return request.post('app-api/member/user-relation/create-relation', data, {
  21. noAuth: true
  22. });
  23. }
  24. // 会员设置默认绑定设备
  25. export function bindDefaultEqu(data) {
  26. return request.post('app-api/member/user-device-bind/bind-default', data, {
  27. noAuth: true
  28. });
  29. }