isdata-customer-sdk 0.1.32 → 0.1.34

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.js CHANGED
@@ -4881,10 +4881,13 @@ __webpack_require__.r(__webpack_exports__);
4881
4881
  __webpack_require__.d(__webpack_exports__, {
4882
4882
  addObjectUsedTimes: function() { return /* reexport */ addObjectUsedTimes; },
4883
4883
  fireEvent: function() { return /* reexport */ fireEvent; },
4884
+ getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
4884
4885
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
4886
+ getAuthPic: function() { return /* reexport */ getAuthPic; },
4885
4887
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
4886
4888
  getGroupMappingsByAccount: function() { return /* reexport */ getGroupMappingsByAccount; },
4887
4889
  getKey: function() { return /* reexport */ getKey; },
4890
+ getLoginPageNotices: function() { return /* reexport */ getLoginPageNotices; },
4888
4891
  getLoginPortalAccountKey: function() { return /* reexport */ getLoginPortalAccountKey; },
4889
4892
  getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
4890
4893
  getMenuDatasByGroupID: function() { return /* reexport */ getMenuDatasByGroupID; },
@@ -5424,8 +5427,27 @@ const getMappingAppInfoByID = async (appID, groupID) => {
5424
5427
  let appInfo = resultData.data.appInfo;
5425
5428
  return appInfo;
5426
5429
  };
5430
+ const getLoginPageNotices = async () => {
5431
+ let queryData = {
5432
+ "param": {
5433
+ "id": "1005"
5434
+ }
5435
+ };
5436
+ let resultData = await request.post(`/dataservice/rest/orchestration/getNoticeInfosByAppTypeID`, queryData);
5437
+ let noticeInfos = resultData.data.resultDatas;
5438
+ return noticeInfos;
5439
+ };
5427
5440
  ;// ./src/api/security.js
5428
5441
 
5442
+
5443
+ /**
5444
+ *
5445
+ * @returns 获取登录验证码图片
5446
+ */
5447
+ const getAuthPic = () => request.get(`/system/authority/getAuthPic?module=loginPassword`, {
5448
+ responseType: "arraybuffer"
5449
+ });
5450
+
5429
5451
  /**
5430
5452
  * 登出账号
5431
5453
  * @param endside_type 0: web 1:手机
@@ -5631,6 +5653,22 @@ const queryOfficeInfosById = async officeID => {
5631
5653
  let groupDptData = resultData.data.officeData;
5632
5654
  return groupDptData;
5633
5655
  };
5656
+
5657
+ /**
5658
+ * 获取应用信息通过ID
5659
+ * @param {*} id
5660
+ * @returns
5661
+ */
5662
+ const getAPPInfosByID = async id => {
5663
+ let queryData = {
5664
+ "param": {
5665
+ "id": id
5666
+ }
5667
+ };
5668
+ let resultData = await request.post(`/dataservice/rest/orchestration/getAPPInfosByID`, queryData);
5669
+ let groupDptData = resultData.data.appInfo;
5670
+ return groupDptData;
5671
+ };
5634
5672
  ;// ./src/main.js
5635
5673
 
5636
5674