ucservice 1.3.1 → 1.3.4

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.
@@ -25390,6 +25390,7 @@ __webpack_require__.d(__webpack_exports__, "doLogout", function() { return /* re
25390
25390
  __webpack_require__.d(__webpack_exports__, "keepHeart", function() { return /* reexport */ keepHeart; });
25391
25391
  __webpack_require__.d(__webpack_exports__, "initCometd", function() { return /* reexport */ initCometd; });
25392
25392
  __webpack_require__.d(__webpack_exports__, "initVideo", function() { return /* reexport */ initVideo; });
25393
+ __webpack_require__.d(__webpack_exports__, "sha256_digest", function() { return /* reexport */ sha256_digest; });
25393
25394
  __webpack_require__.d(__webpack_exports__, "accountOp", function() { return /* reexport */ accountOp; });
25394
25395
  __webpack_require__.d(__webpack_exports__, "aduioOp", function() { return /* reexport */ aduioOp; });
25395
25396
  __webpack_require__.d(__webpack_exports__, "aduioVideoOp", function() { return /* reexport */ aduioVideoOp; });
@@ -28351,6 +28352,73 @@ let location_url_location = {
28351
28352
  }
28352
28353
  }
28353
28354
  },
28355
+ listGisTrailNet: {
28356
+ //查询gis轨迹数据
28357
+
28358
+ /***
28359
+ **/
28360
+ url: '/scooper-app-msg/gis/queryGisTrails',
28361
+ method: 'GET',
28362
+ requestParam: {
28363
+ startTime: '',
28364
+ endTime: '',
28365
+ timespan: '',
28366
+ memId: '',
28367
+ accId: '',
28368
+ token: '',
28369
+ pageNumber: 1,
28370
+ pageSize: 50
28371
+ },
28372
+ responseParam: {
28373
+ code: '',
28374
+ //返回结果状态码
28375
+ message: '',
28376
+ systemTime: '',
28377
+ //yyyy-MM-dd HH:mm:ss
28378
+ data: {
28379
+ total: '',
28380
+ pageSize: '',
28381
+ pageNumber: '',
28382
+ list: [{
28383
+ altitude: 0,
28384
+ center: {
28385
+ longitude: 120.026576,
28386
+ latitude: 30.823369
28387
+ },
28388
+ childMapId: 0,
28389
+ corpId: 0,
28390
+ evtLevel: 0,
28391
+ extData: "",
28392
+ geoHash: "wtmr770xjumy",
28393
+ hasChild: false,
28394
+ id: 1,
28395
+ layerId: 1,
28396
+ layerLogicName: "person",
28397
+ mapId: 0,
28398
+ name: "单兵01",
28399
+ parentId: 0,
28400
+ permKey: "300000.000002.002",
28401
+ points: [{
28402
+ longitude: 0,
28403
+ latitude: 0
28404
+ }],
28405
+ posStatus: "offline",
28406
+ propKey: "6",
28407
+ rectMax: {
28408
+ longitude: 120.026576,
28409
+ latitude: 30.823369
28410
+ },
28411
+ rectMin: {
28412
+ longitude: 120.026576,
28413
+ latitude: 30.823369
28414
+ },
28415
+ speed: 0,
28416
+ type: "Point",
28417
+ updateTime: "2022-04-22 14:21:30"
28418
+ }]
28419
+ }
28420
+ }
28421
+ },
28354
28422
  listTypeLocationNet: {
28355
28423
  //按类型查询设备点位信息
28356
28424
 
@@ -30168,8 +30236,6 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
30168
30236
  'data': param,
30169
30237
  'async': async
30170
30238
  };
30171
- console.log("====ajax参数====");
30172
- console.log(ajaxContent);
30173
30239
  if (headers) Object.assign(ajaxContent, headers);
30174
30240
  $.ajax(ajaxContent).fail(function (jqXHR, sts) {
30175
30241
  console.error('加载数据失败:' + sts + ", " + url);
@@ -31134,6 +31200,20 @@ const locationOp = sip => {
31134
31200
  }, '', net.method);
31135
31201
  });
31136
31202
  },
31203
+ gisList: function (param) {
31204
+ let net = location_url.listGisTrailNet;
31205
+ return new Promise((resolve, reject) => {
31206
+ loadJson(server_ + net.url, { ...param
31207
+ }, function (ret) {
31208
+ if (ret.code == 0) {
31209
+ resolve(ret);
31210
+ } else {
31211
+ console.log("获取GIS定位数据失败", ret.code);
31212
+ reject(ret.code);
31213
+ }
31214
+ }, '', net.method);
31215
+ });
31216
+ },
31137
31217
  locateDeviceByType: function (param) {
31138
31218
  let net = location_url.listTypeLocationNet;
31139
31219
  return new Promise((resolve, reject) => {
Binary file