isdata-customer-sdk 0.2.65 → 0.2.67

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.
@@ -29565,6 +29565,7 @@ __webpack_require__.d(__webpack_exports__, {
29565
29565
  fireEvent: function() { return /* reexport */ fireEvent; },
29566
29566
  getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
29567
29567
  getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
29568
+ getAccountCountByName: function() { return /* reexport */ getAccountCountByName; },
29568
29569
  getAllI18nTypes: function() { return /* reexport */ getAllI18nTypes; },
29569
29570
  getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
29570
29571
  getAppCustomData: function() { return /* reexport */ getAppCustomData; },
@@ -30594,10 +30595,11 @@ const getMappingAppInfoByID = async (appID, groupID) => {
30594
30595
  *
30595
30596
  * @returns 获取门户登录页面的公告信息
30596
30597
  */
30597
- const getLoginPageNotices = async () => {
30598
+ const getLoginPageNotices = async groupID => {
30598
30599
  let queryData = {
30599
30600
  param: {
30600
- id: "1005"
30601
+ id: "1005",
30602
+ groupID: groupID // 集团ID
30601
30603
  }
30602
30604
  };
30603
30605
  let resultData = await request.post(`/dataservice/rest/orchestration/getNoticeInfosByAppTypeID`, queryData);
@@ -33905,6 +33907,21 @@ const getViewKey = async () => {
33905
33907
  let key = resultData.data.key;
33906
33908
  return key;
33907
33909
  };
33910
+
33911
+ /**
33912
+ * 通过账号获取账号数量
33913
+ * @returns
33914
+ */
33915
+ const getAccountCountByName = async name => {
33916
+ let queryData = {
33917
+ param: {
33918
+ accountName: name
33919
+ }
33920
+ };
33921
+ let resultData = await request.post(`/dataservice/rest/orchestration/getAccountCountByName`, queryData);
33922
+ let count = resultData.data.count;
33923
+ return count;
33924
+ };
33908
33925
  ;// ./src/api/utils.js
33909
33926
 
33910
33927