ucservice 2.8.0 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31303,8 +31303,9 @@ let video = {
31303
31303
  },
31304
31304
  getVmmpVideoListNet: {
31305
31305
  //三方接入设备列表
31306
- url: '/scooper-video/data/facility/queryFacilityList',
31306
+ url: '/vmmp-web/data/catalog/getChildDev',
31307
31307
  method: 'GET',
31308
+ noResultStatus: true,
31308
31309
  requestParam: {
31309
31310
  search_data: '',
31310
31311
  current: 1,
@@ -33444,11 +33445,13 @@ const videoOp = sip => {
33444
33445
  return new Promise((resolve, reject) => {
33445
33446
  loadJson(server_ + net.url + (urlParamString ? '?' + urlParamString : ''), { ...param
33446
33447
  }, function (ret) {
33447
- if (ret.code == 0) {
33448
- resolve(ret);
33449
- } else {
33450
- console.log("获取vmmp设备列表失败", ret.code);
33451
- reject(ret.code);
33448
+ if (net.noResultStatus) resolve(ret);else {
33449
+ if (ret.code == 0) {
33450
+ resolve(ret);
33451
+ } else {
33452
+ console.log("获取vmmp设备列表失败", ret.code);
33453
+ reject(ret.code);
33454
+ }
33452
33455
  }
33453
33456
  }, '', net.method);
33454
33457
  });
Binary file