isdata-customer-sdk 0.2.68 → 0.2.70
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/index.common.js +29 -0
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +29 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -29576,6 +29576,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29576
29576
|
addWindowTrustedOrigin: function() { return /* reexport */ addWindowTrustedOrigin; },
|
|
29577
29577
|
checkTextFormat: function() { return /* reexport */ checkTextFormat; },
|
|
29578
29578
|
createFileFromUrl: function() { return /* reexport */ createFileFromUrl; },
|
|
29579
|
+
createRegistApply: function() { return /* reexport */ createRegistApply; },
|
|
29579
29580
|
destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
|
|
29580
29581
|
extractFilenameFromUrl: function() { return /* reexport */ extractFilenameFromUrl; },
|
|
29581
29582
|
extractNewItems: function() { return /* reexport */ extractNewItems; },
|
|
@@ -29590,6 +29591,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29590
29591
|
getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
|
|
29591
29592
|
getAuthPic: function() { return /* reexport */ getAuthPic; },
|
|
29592
29593
|
getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
|
|
29594
|
+
getClientIp: function() { return /* reexport */ getClientIp; },
|
|
29593
29595
|
getCurrentAppID: function() { return /* reexport */ getCurrentAppID; },
|
|
29594
29596
|
getCurrentUserPortalMapping: function() { return /* reexport */ getCurrentUserPortalMapping; },
|
|
29595
29597
|
getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
|
|
@@ -33958,6 +33960,21 @@ const getAccountCountByName = async name => {
|
|
|
33958
33960
|
let count = resultData.data.count;
|
|
33959
33961
|
return count;
|
|
33960
33962
|
};
|
|
33963
|
+
|
|
33964
|
+
/**
|
|
33965
|
+
* 新建账户注册申请
|
|
33966
|
+
* @returns
|
|
33967
|
+
*/
|
|
33968
|
+
const createRegistApply = async registInfo => {
|
|
33969
|
+
let queryData = {
|
|
33970
|
+
param: {
|
|
33971
|
+
registInfo: registInfo
|
|
33972
|
+
}
|
|
33973
|
+
};
|
|
33974
|
+
let resultData = await request.post(`/dataservice/rest/orchestration/createRegistApply`, queryData);
|
|
33975
|
+
let operateResult = resultData.data.operateResult;
|
|
33976
|
+
return operateResult;
|
|
33977
|
+
};
|
|
33961
33978
|
;// ./src/api/utils.js
|
|
33962
33979
|
|
|
33963
33980
|
|
|
@@ -34106,6 +34123,18 @@ const hasUrlParams = url => {
|
|
|
34106
34123
|
return false;
|
|
34107
34124
|
}
|
|
34108
34125
|
};
|
|
34126
|
+
|
|
34127
|
+
/**
|
|
34128
|
+
* 获取客户端IP
|
|
34129
|
+
* @returns
|
|
34130
|
+
*/
|
|
34131
|
+
const getClientIp = async () => {
|
|
34132
|
+
let serverIP = `/ext/getClientIp`;
|
|
34133
|
+
//
|
|
34134
|
+
let resultData = await request.post(serverIP);
|
|
34135
|
+
let ipAddress = resultData?.data?.clientIp;
|
|
34136
|
+
return ipAddress;
|
|
34137
|
+
};
|
|
34109
34138
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
|
|
34110
34139
|
var es_iterator_some = __webpack_require__(3579);
|
|
34111
34140
|
;// ./src/api/iframe.js
|