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.common.js
CHANGED
|
@@ -26454,7 +26454,8 @@ let account = {
|
|
|
26454
26454
|
},
|
|
26455
26455
|
heartBeatNet: {
|
|
26456
26456
|
//账号心跳保持接口, 长轮询调用该接口保持与服务端的连接,每15s发送一次该消息,如果60s内没有收到该消息,服务端主动注销该用户
|
|
26457
|
-
url: '/scooper-core-rest/data/system/authManage/heartbeat',
|
|
26457
|
+
// url: '/scooper-core-rest/data/system/authManage/heartbeat',
|
|
26458
|
+
url: '/dispatch-web/api/conn/heartKeep',
|
|
26458
26459
|
requestParam: {
|
|
26459
26460
|
token: ''
|
|
26460
26461
|
},
|
|
@@ -27814,6 +27815,7 @@ let dept_ry = {
|
|
|
27814
27815
|
//同步新成员到gis
|
|
27815
27816
|
url: '/common-gis-web/data/gispos/addPersion',
|
|
27816
27817
|
method: 'POST',
|
|
27818
|
+
contentType: 'application/json;charset=utf-8',
|
|
27817
27819
|
requestParam: {
|
|
27818
27820
|
token: '',
|
|
27819
27821
|
name: '',
|
|
@@ -31409,7 +31411,7 @@ let $ = __webpack_require__("1157");
|
|
|
31409
31411
|
*/
|
|
31410
31412
|
|
|
31411
31413
|
|
|
31412
|
-
const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
31414
|
+
const loadJson = function (url, param, backSuccfn, async, method, headers, contentType) {
|
|
31413
31415
|
method = method ? method : 'POST';
|
|
31414
31416
|
async = async == undefined || async == '' ? true : async;
|
|
31415
31417
|
|
|
@@ -31436,6 +31438,9 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
|
31436
31438
|
'async': async
|
|
31437
31439
|
};
|
|
31438
31440
|
if (headers) Object.assign(ajaxContent, headers);
|
|
31441
|
+
if (contentType) Object.assign(ajaxContent, {
|
|
31442
|
+
contentType
|
|
31443
|
+
});
|
|
31439
31444
|
$.ajax(ajaxContent).fail(function (jqXHR, sts) {
|
|
31440
31445
|
console.error('加载数据失败:' + sts + ", " + url);
|
|
31441
31446
|
}).done(function (ret) {
|
|
@@ -32256,7 +32261,7 @@ const deptRyOp = sip => {
|
|
|
32256
32261
|
console.log("创建成员定位到GIS失败", ret.code);
|
|
32257
32262
|
reject(ret.code);
|
|
32258
32263
|
}
|
|
32259
|
-
}, '', net.method);
|
|
32264
|
+
}, '', net.method, param.contentType);
|
|
32260
32265
|
});
|
|
32261
32266
|
},
|
|
32262
32267
|
add: function (param) {
|
|
Binary file
|