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.
@@ -29570,6 +29570,7 @@ __webpack_require__.d(__webpack_exports__, {
29570
29570
  getAuthPic: function() { return /* reexport */ getAuthPic; },
29571
29571
  getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
29572
29572
  getCurrentAppID: function() { return /* reexport */ getCurrentAppID; },
29573
+ getCurrentUserPortalMapping: function() { return /* reexport */ getCurrentUserPortalMapping; },
29573
29574
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
29574
29575
  getDifyFileType: function() { return /* reexport */ getDifyFileType; },
29575
29576
  getFileSize: function() { return /* reexport */ getFileSize; },
@@ -30254,6 +30255,24 @@ const getCurrentUserPortalPageID = async userData => {
30254
30255
  return portal_id;
30255
30256
  };
30256
30257
 
30258
+ /**
30259
+ * 获取当前用户默认的门户页面ID
30260
+ *
30261
+ * 该方法用于获取当前用户在门户中的默认页面ID
30262
+ * @param {信息} userData
30263
+ * @returns
30264
+ */
30265
+ const getCurrentUserPortalMapping = async userData => {
30266
+ let queryData = {
30267
+ param: {
30268
+ userData: userData
30269
+ }
30270
+ };
30271
+ let response = await request.post(`/dataservice/rest/orchestration/getPortalMappingInfo`, queryData);
30272
+ let portal_id = response.data.portal_info;
30273
+ return portal_id;
30274
+ };
30275
+
30257
30276
  /**
30258
30277
  * 获取当前用户在门户中的所有映射数据
30259
30278
  * @param {信息} data