ucservice 2.0.0 → 2.0.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.
- package/dist/ucservice.common.js +8 -3
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +8 -3
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/ucservice.umd.js
CHANGED
|
@@ -26463,7 +26463,8 @@ let account = {
|
|
|
26463
26463
|
},
|
|
26464
26464
|
heartBeatNet: {
|
|
26465
26465
|
//账号心跳保持接口, 长轮询调用该接口保持与服务端的连接,每15s发送一次该消息,如果60s内没有收到该消息,服务端主动注销该用户
|
|
26466
|
-
url: '/scooper-core-rest/data/system/authManage/heartbeat',
|
|
26466
|
+
// url: '/scooper-core-rest/data/system/authManage/heartbeat',
|
|
26467
|
+
url: '/dispatch-web/api/conn/heartKeep',
|
|
26467
26468
|
requestParam: {
|
|
26468
26469
|
token: ''
|
|
26469
26470
|
},
|
|
@@ -27823,6 +27824,7 @@ let dept_ry = {
|
|
|
27823
27824
|
//同步新成员到gis
|
|
27824
27825
|
url: '/common-gis-web/data/gispos/addPersion',
|
|
27825
27826
|
method: 'POST',
|
|
27827
|
+
contentType: 'application/json;charset=utf-8',
|
|
27826
27828
|
requestParam: {
|
|
27827
27829
|
token: '',
|
|
27828
27830
|
name: '',
|
|
@@ -31418,7 +31420,7 @@ let $ = __webpack_require__("1157");
|
|
|
31418
31420
|
*/
|
|
31419
31421
|
|
|
31420
31422
|
|
|
31421
|
-
const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
31423
|
+
const loadJson = function (url, param, backSuccfn, async, method, headers, contentType) {
|
|
31422
31424
|
method = method ? method : 'POST';
|
|
31423
31425
|
async = async == undefined || async == '' ? true : async;
|
|
31424
31426
|
|
|
@@ -31445,6 +31447,9 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
|
31445
31447
|
'async': async
|
|
31446
31448
|
};
|
|
31447
31449
|
if (headers) Object.assign(ajaxContent, headers);
|
|
31450
|
+
if (contentType) Object.assign(ajaxContent, {
|
|
31451
|
+
contentType
|
|
31452
|
+
});
|
|
31448
31453
|
$.ajax(ajaxContent).fail(function (jqXHR, sts) {
|
|
31449
31454
|
console.error('加载数据失败:' + sts + ", " + url);
|
|
31450
31455
|
}).done(function (ret) {
|
|
@@ -32265,7 +32270,7 @@ const deptRyOp = sip => {
|
|
|
32265
32270
|
console.log("创建成员定位到GIS失败", ret.code);
|
|
32266
32271
|
reject(ret.code);
|
|
32267
32272
|
}
|
|
32268
|
-
}, '', net.method);
|
|
32273
|
+
}, '', net.method, param.contentType);
|
|
32269
32274
|
});
|
|
32270
32275
|
},
|
|
32271
32276
|
add: function (param) {
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|