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.
@@ -25381,6 +25381,7 @@ __webpack_require__.d(__webpack_exports__, "doLogout", function() { return /* re
25381
25381
  __webpack_require__.d(__webpack_exports__, "keepHeart", function() { return /* reexport */ keepHeart; });
25382
25382
  __webpack_require__.d(__webpack_exports__, "initCometd", function() { return /* reexport */ initCometd; });
25383
25383
  __webpack_require__.d(__webpack_exports__, "initVideo", function() { return /* reexport */ initVideo; });
25384
+ __webpack_require__.d(__webpack_exports__, "sha256_digest", function() { return /* reexport */ sha256_digest; });
25384
25385
  __webpack_require__.d(__webpack_exports__, "accountOp", function() { return /* reexport */ accountOp; });
25385
25386
  __webpack_require__.d(__webpack_exports__, "aduioOp", function() { return /* reexport */ aduioOp; });
25386
25387
  __webpack_require__.d(__webpack_exports__, "aduioVideoOp", function() { return /* reexport */ aduioVideoOp; });
@@ -28342,6 +28343,73 @@ let location_url_location = {
28342
28343
  }
28343
28344
  }
28344
28345
  },
28346
+ listGisTrailNet: {
28347
+ //查询gis轨迹数据
28348
+
28349
+ /***
28350
+ **/
28351
+ url: '/scooper-app-msg/gis/queryGisTrails',
28352
+ method: 'GET',
28353
+ requestParam: {
28354
+ startTime: '',
28355
+ endTime: '',
28356
+ timespan: '',
28357
+ memId: '',
28358
+ accId: '',
28359
+ token: '',
28360
+ pageNumber: 1,
28361
+ pageSize: 50
28362
+ },
28363
+ responseParam: {
28364
+ code: '',
28365
+ //返回结果状态码
28366
+ message: '',
28367
+ systemTime: '',
28368
+ //yyyy-MM-dd HH:mm:ss
28369
+ data: {
28370
+ total: '',
28371
+ pageSize: '',
28372
+ pageNumber: '',
28373
+ list: [{
28374
+ altitude: 0,
28375
+ center: {
28376
+ longitude: 120.026576,
28377
+ latitude: 30.823369
28378
+ },
28379
+ childMapId: 0,
28380
+ corpId: 0,
28381
+ evtLevel: 0,
28382
+ extData: "",
28383
+ geoHash: "wtmr770xjumy",
28384
+ hasChild: false,
28385
+ id: 1,
28386
+ layerId: 1,
28387
+ layerLogicName: "person",
28388
+ mapId: 0,
28389
+ name: "单兵01",
28390
+ parentId: 0,
28391
+ permKey: "300000.000002.002",
28392
+ points: [{
28393
+ longitude: 0,
28394
+ latitude: 0
28395
+ }],
28396
+ posStatus: "offline",
28397
+ propKey: "6",
28398
+ rectMax: {
28399
+ longitude: 120.026576,
28400
+ latitude: 30.823369
28401
+ },
28402
+ rectMin: {
28403
+ longitude: 120.026576,
28404
+ latitude: 30.823369
28405
+ },
28406
+ speed: 0,
28407
+ type: "Point",
28408
+ updateTime: "2022-04-22 14:21:30"
28409
+ }]
28410
+ }
28411
+ }
28412
+ },
28345
28413
  listTypeLocationNet: {
28346
28414
  //按类型查询设备点位信息
28347
28415
 
@@ -30159,8 +30227,6 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
30159
30227
  'data': param,
30160
30228
  'async': async
30161
30229
  };
30162
- console.log("====ajax参数====");
30163
- console.log(ajaxContent);
30164
30230
  if (headers) Object.assign(ajaxContent, headers);
30165
30231
  $.ajax(ajaxContent).fail(function (jqXHR, sts) {
30166
30232
  console.error('加载数据失败:' + sts + ", " + url);
@@ -31125,6 +31191,20 @@ const locationOp = sip => {
31125
31191
  }, '', net.method);
31126
31192
  });
31127
31193
  },
31194
+ gisList: function (param) {
31195
+ let net = location_url.listGisTrailNet;
31196
+ return new Promise((resolve, reject) => {
31197
+ loadJson(server_ + net.url, { ...param
31198
+ }, function (ret) {
31199
+ if (ret.code == 0) {
31200
+ resolve(ret);
31201
+ } else {
31202
+ console.log("获取GIS定位数据失败", ret.code);
31203
+ reject(ret.code);
31204
+ }
31205
+ }, '', net.method);
31206
+ });
31207
+ },
31128
31208
  locateDeviceByType: function (param) {
31129
31209
  let net = location_url.listTypeLocationNet;
31130
31210
  return new Promise((resolve, reject) => {
Binary file