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.umd.js CHANGED
@@ -4891,10 +4891,13 @@ __webpack_require__.r(__webpack_exports__);
4891
4891
  __webpack_require__.d(__webpack_exports__, {
4892
4892
  addObjectUsedTimes: function() { return /* reexport */ addObjectUsedTimes; },
4893
4893
  fireEvent: function() { return /* reexport */ fireEvent; },
4894
+ getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
4894
4895
  getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
4896
+ getAuthPic: function() { return /* reexport */ getAuthPic; },
4895
4897
  getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
4896
4898
  getGroupMappingsByAccount: function() { return /* reexport */ getGroupMappingsByAccount; },
4897
4899
  getKey: function() { return /* reexport */ getKey; },
4900
+ getLoginPageNotices: function() { return /* reexport */ getLoginPageNotices; },
4898
4901
  getLoginPortalAccountKey: function() { return /* reexport */ getLoginPortalAccountKey; },
4899
4902
  getMappingAppInfoByID: function() { return /* reexport */ getMappingAppInfoByID; },
4900
4903
  getMenuDatasByGroupID: function() { return /* reexport */ getMenuDatasByGroupID; },
@@ -5434,8 +5437,27 @@ const getMappingAppInfoByID = async (appID, groupID) => {
5434
5437
  let appInfo = resultData.data.appInfo;
5435
5438
  return appInfo;
5436
5439
  };
5440
+ const getLoginPageNotices = async () => {
5441
+ let queryData = {
5442
+ "param": {
5443
+ "id": "1005"
5444
+ }
5445
+ };
5446
+ let resultData = await request.post(`/dataservice/rest/orchestration/getNoticeInfosByAppTypeID`, queryData);
5447
+ let noticeInfos = resultData.data.resultDatas;
5448
+ return noticeInfos;
5449
+ };
5437
5450
  ;// ./src/api/security.js
5438
5451
 
5452
+
5453
+ /**
5454
+ *
5455
+ * @returns 获取登录验证码图片
5456
+ */
5457
+ const getAuthPic = () => request.get(`/system/authority/getAuthPic?module=loginPassword`, {
5458
+ responseType: "arraybuffer"
5459
+ });
5460
+
5439
5461
  /**
5440
5462
  * 登出账号
5441
5463
  * @param endside_type 0: web 1:手机
@@ -5641,6 +5663,22 @@ const queryOfficeInfosById = async officeID => {
5641
5663
  let groupDptData = resultData.data.officeData;
5642
5664
  return groupDptData;
5643
5665
  };
5666
+
5667
+ /**
5668
+ * 获取应用信息通过ID
5669
+ * @param {*} id
5670
+ * @returns
5671
+ */
5672
+ const getAPPInfosByID = async id => {
5673
+ let queryData = {
5674
+ "param": {
5675
+ "id": id
5676
+ }
5677
+ };
5678
+ let resultData = await request.post(`/dataservice/rest/orchestration/getAPPInfosByID`, queryData);
5679
+ let groupDptData = resultData.data.appInfo;
5680
+ return groupDptData;
5681
+ };
5644
5682
  ;// ./src/main.js
5645
5683
 
5646
5684