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.
@@ -29558,6 +29558,7 @@ __webpack_require__.d(__webpack_exports__, {
29558
29558
  addWindowTrustedOrigin: function() { return /* reexport */ addWindowTrustedOrigin; },
29559
29559
  checkTextFormat: function() { return /* reexport */ checkTextFormat; },
29560
29560
  createFileFromUrl: function() { return /* reexport */ createFileFromUrl; },
29561
+ createRegistApply: function() { return /* reexport */ createRegistApply; },
29561
29562
  destroyEventCenter: function() { return /* reexport */ destroyEventCenter; },
29562
29563
  extractFilenameFromUrl: function() { return /* reexport */ extractFilenameFromUrl; },
29563
29564
  extractNewItems: function() { return /* reexport */ extractNewItems; },
@@ -29572,6 +29573,7 @@ __webpack_require__.d(__webpack_exports__, {
29572
29573
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
29573
29574
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29574
29575
  getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29576
+ getClientIp: function() { return /* reexport */ getClientIp; },
29575
29577
  getCurrentAppID: function() { return /* reexport */ getCurrentAppID; },
29576
29578
  getCurrentUserPortalMapping: function() { return /* reexport */ getCurrentUserPortalMapping; },
29577
29579
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
@@ -33940,6 +33942,21 @@ const getAccountCountByName = async name => {
33940
33942
  let count = resultData.data.count;
33941
33943
  return count;
33942
33944
  };
33945
+
33946
+ /**
33947
+ * 新建账户注册申请
33948
+ * @returns
33949
+ */
33950
+ const createRegistApply = async registInfo => {
33951
+ let queryData = {
33952
+ param: {
33953
+ registInfo: registInfo
33954
+ }
33955
+ };
33956
+ let resultData = await request.post(`/dataservice/rest/orchestration/createRegistApply`, queryData);
33957
+ let operateResult = resultData.data.operateResult;
33958
+ return operateResult;
33959
+ };
33943
33960
  ;// ./src/api/utils.js
33944
33961
 
33945
33962
 
@@ -34088,6 +34105,18 @@ const hasUrlParams = url => {
34088
34105
  return false;
34089
34106
  }
34090
34107
  };
34108
+
34109
+ /**
34110
+ * 获取客户端IP
34111
+ * @returns
34112
+ */
34113
+ const getClientIp = async () => {
34114
+ let serverIP = `/ext/getClientIp`;
34115
+ //
34116
+ let resultData = await request.post(serverIP);
34117
+ let ipAddress = resultData?.data?.clientIp;
34118
+ return ipAddress;
34119
+ };
34091
34120
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
34092
34121
  var es_iterator_some = __webpack_require__(3579);
34093
34122
  ;// ./src/api/iframe.js