@das-fed/utils 7.0.7-hot.12 → 7.0.7-hot.14

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.
Files changed (63) hide show
  1. package/api-services/i18n/index.js.gz +0 -0
  2. package/api-services/index.js +890 -908
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +725 -743
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +746 -728
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +725 -743
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +723 -741
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +725 -743
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js.gz +0 -0
  16. package/api-services/modules/gateway-edge/index.js +725 -743
  17. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  18. package/api-services/modules/index.js +875 -857
  19. package/api-services/modules/index.js.gz +0 -0
  20. package/api-services/modules/iot/index.js +984 -1002
  21. package/api-services/modules/iot/index.js.gz +0 -0
  22. package/api-services/modules/justauth/index.js +726 -744
  23. package/api-services/modules/justauth/index.js.gz +0 -0
  24. package/api-services/modules/knowledge/index.js +725 -743
  25. package/api-services/modules/knowledge/index.js.gz +0 -0
  26. package/api-services/modules/link/index.js.gz +0 -0
  27. package/api-services/modules/permission/index.js.gz +0 -0
  28. package/api-services/modules/platformManage/index.js +734 -752
  29. package/api-services/modules/platformManage/index.js.gz +0 -0
  30. package/api-services/modules/portal/index.js.gz +0 -0
  31. package/api-services/modules/space-manage/index.js.gz +0 -0
  32. package/api-services/modules/super-admin/index.js +745 -727
  33. package/api-services/modules/super-admin/index.js.gz +0 -0
  34. package/api-services/modules/supplier/index.js +727 -745
  35. package/api-services/modules/supplier/index.js.gz +0 -0
  36. package/api-services/modules/supplychain-manage/index.js +725 -743
  37. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  38. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  39. package/api-services/modules/tool/index.js.gz +0 -0
  40. package/api-services/src/create-service/index.js.gz +0 -0
  41. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  42. package/common-info/index.js.gz +0 -0
  43. package/common-info/set-personal-info/index.d.ts +1 -1
  44. package/common-info/set-personal-info/index.js +10 -10
  45. package/common-info/set-personal-info/index.js.gz +0 -0
  46. package/common-tools/extract-file-name/index.js.gz +0 -0
  47. package/common-tools/get-url-params/index.js.gz +0 -0
  48. package/create-api-service/index.js +699 -717
  49. package/create-api-service/index.js.gz +0 -0
  50. package/create-api-service/sso/index.js +178 -177
  51. package/create-api-service/sso/index.js.gz +0 -0
  52. package/curring-http/index.js.gz +0 -0
  53. package/directive/auth/index.js.gz +0 -0
  54. package/hooks/use-get-auth/index.js.gz +0 -0
  55. package/nextTiken/index.js.gz +0 -0
  56. package/package.json +4 -4
  57. package/pinyin-first-character/index.js.gz +0 -0
  58. package/process-engine-info/index.js +7 -8
  59. package/style/index.js.gz +0 -0
  60. package/token-tools/index.js +8 -80
  61. package/use-low-code/index.js.gz +0 -0
  62. package/webSocket-service/index.js.gz +0 -0
  63. package/token-tools/index.js.gz +0 -0
Binary file
@@ -2,4 +2,4 @@
2
2
  * 获取用户信息存入sessionStorage
3
3
  * @param token token
4
4
  */
5
- export declare const setPersonalInfo: (token?: string) => any;
5
+ export declare const setPersonalInfo: (token: string) => any;
@@ -1712,25 +1712,25 @@ const {
1712
1712
  formToJSON: Gn,
1713
1713
  getAdapter: Qn,
1714
1714
  mergeConfig: Zn
1715
- } = E, Yn = async (e = "") => {
1716
- var r;
1715
+ } = E, Yn = async (e) => {
1716
+ var n;
1717
1717
  const t = {
1718
1718
  personalInfo: "/api/personal-center/personal-server/v1/info"
1719
- }, n = {
1720
- "X-Origin": location.origin,
1721
- "Accept-Language": Ze.value
1722
1719
  };
1723
- e && (n.Authorization = `Bearer ${e}`);
1724
1720
  try {
1725
- const s = await E.create().get(t.personalInfo, {
1721
+ const r = await E.create().get(t.personalInfo, {
1726
1722
  baseURL: et().baseURL,
1727
1723
  params: {
1728
- project: (r = Ye()) == null ? void 0 : r.id,
1724
+ project: (n = Ye()) == null ? void 0 : n.id,
1729
1725
  timestamp: (/* @__PURE__ */ new Date()).getTime()
1730
1726
  },
1731
- headers: n
1727
+ headers: {
1728
+ Authorization: `Bearer ${e}`,
1729
+ "X-Origin": location.origin,
1730
+ "Accept-Language": Ze.value
1731
+ }
1732
1732
  });
1733
- s != null && s.data && sessionStorage.setItem("userInfo", JSON.stringify(s.data));
1733
+ r != null && r.data && sessionStorage.setItem("userInfo", JSON.stringify(r.data));
1734
1734
  } catch {
1735
1735
  }
1736
1736
  };