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.
@@ -31312,8 +31312,9 @@ let video = {
31312
31312
  },
31313
31313
  getVmmpVideoListNet: {
31314
31314
  //三方接入设备列表
31315
- url: '/scooper-video/data/facility/queryFacilityList',
31315
+ url: '/vmmp-web/data/catalog/getChildDev',
31316
31316
  method: 'GET',
31317
+ noResultStatus: true,
31317
31318
  requestParam: {
31318
31319
  search_data: '',
31319
31320
  current: 1,
@@ -33453,11 +33454,13 @@ const videoOp = sip => {
33453
33454
  return new Promise((resolve, reject) => {
33454
33455
  loadJson(server_ + net.url + (urlParamString ? '?' + urlParamString : ''), { ...param
33455
33456
  }, function (ret) {
33456
- if (ret.code == 0) {
33457
- resolve(ret);
33458
- } else {
33459
- console.log("获取vmmp设备列表失败", ret.code);
33460
- reject(ret.code);
33457
+ if (net.noResultStatus) resolve(ret);else {
33458
+ if (ret.code == 0) {
33459
+ resolve(ret);
33460
+ } else {
33461
+ console.log("获取vmmp设备列表失败", ret.code);
33462
+ reject(ret.code);
33463
+ }
33461
33464
  }
33462
33465
  }, '', net.method);
33463
33466
  });
Binary file