isdata-customer-sdk 0.2.60 → 0.2.61

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.
@@ -29597,6 +29597,7 @@ __webpack_require__.d(__webpack_exports__, {
29597
29597
  getPortalAccessToken: function() { return /* reexport */ getPortalAccessToken; },
29598
29598
  getPortalAppCustomConfig: function() { return /* reexport */ getPortalAppCustomConfig; },
29599
29599
  getPortalDocmentInfo: function() { return /* reexport */ getPortalDocmentInfo; },
29600
+ getPortalInfosByID: function() { return /* reexport */ getPortalInfosByID; },
29600
29601
  getPortalNotices: function() { return /* reexport */ getPortalNotices; },
29601
29602
  getPortalPageConfig: function() { return /* reexport */ getPortalPageConfig; },
29602
29603
  getPortalPageMenuID: function() { return /* reexport */ getPortalPageMenuID; },
@@ -30461,6 +30462,24 @@ const getCurrentUserPortalMapping = async userData => {
30461
30462
  return portal_id;
30462
30463
  };
30463
30464
 
30465
+ /**
30466
+ * 获取当前用户默认的门户页面ID
30467
+ *
30468
+ * 该方法用于获取当前用户在门户中的默认页面ID
30469
+ * @param {信息} userData
30470
+ * @returns
30471
+ */
30472
+ const getPortalInfosByID = async id => {
30473
+ let queryData = {
30474
+ param: {
30475
+ id: id
30476
+ }
30477
+ };
30478
+ let response = await request.post(`/dataservice/rest/orchestration/getPortalInfosByID`, queryData);
30479
+ let portalInfo = response.data.portalInfo;
30480
+ return portalInfo;
30481
+ };
30482
+
30464
30483
  /**
30465
30484
  * 获取当前用户在门户中的所有映射数据
30466
30485
  * @param {信息} data