isdata-customer-sdk 0.1.93 → 0.1.94

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.umd.js CHANGED
@@ -29580,6 +29580,7 @@ __webpack_require__.d(__webpack_exports__, {
29580
29580
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29581
29581
  getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29582
29582
  getCurrentAppID: function() { return /* reexport */ getCurrentAppID; },
29583
+ getCurrentUserPortalMapping: function() { return /* reexport */ getCurrentUserPortalMapping; },
29583
29584
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29584
29585
  getDifyFileType: function() { return /* reexport */ getDifyFileType; },
29585
29586
  getFileSize: function() { return /* reexport */ getFileSize; },
@@ -30264,6 +30265,24 @@ const getCurrentUserPortalPageID = async userData => {
30264
30265
  return portal_id;
30265
30266
  };
30266
30267
 
30268
+ /**
30269
+ * 获取当前用户默认的门户页面ID
30270
+ *
30271
+ * 该方法用于获取当前用户在门户中的默认页面ID
30272
+ * @param {信息} userData
30273
+ * @returns
30274
+ */
30275
+ const getCurrentUserPortalMapping = async userData => {
30276
+ let queryData = {
30277
+ param: {
30278
+ userData: userData
30279
+ }
30280
+ };
30281
+ let response = await request.post(`/dataservice/rest/orchestration/getPortalMappingInfo`, queryData);
30282
+ let portal_id = response.data.portal_info;
30283
+ return portal_id;
30284
+ };
30285
+
30267
30286
  /**
30268
30287
  * 获取当前用户在门户中的所有映射数据
30269
30288
  * @param {信息} data