@das-fed/utils 7.0.7-hot.11 → 7.0.7-hot.13
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/api-services/index.js +890 -908
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +743 -725
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +725 -743
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +743 -725
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +725 -739
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +743 -725
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +743 -725
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +647 -651
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +734 -752
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +745 -727
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +725 -743
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +699 -717
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/set-personal-info/index.d.ts +1 -1
- package/common-info/set-personal-info/index.js +10 -10
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/create-api-service/sso/index.js +178 -177
- package/create-api-service/sso/index.js.gz +0 -0
- package/package.json +4 -4
- package/process-engine-info/index.js +7 -8
- package/token-tools/index.js +8 -80
- package/token-tools/index.js.gz +0 -0
|
Binary file
|
|
@@ -1712,25 +1712,25 @@ const {
|
|
|
1712
1712
|
formToJSON: Gn,
|
|
1713
1713
|
getAdapter: Qn,
|
|
1714
1714
|
mergeConfig: Zn
|
|
1715
|
-
} = E, Yn = async (e
|
|
1716
|
-
var
|
|
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
|
|
1721
|
+
const r = await E.create().get(t.personalInfo, {
|
|
1726
1722
|
baseURL: et().baseURL,
|
|
1727
1723
|
params: {
|
|
1728
|
-
project: (
|
|
1724
|
+
project: (n = Ye()) == null ? void 0 : n.id,
|
|
1729
1725
|
timestamp: (/* @__PURE__ */ new Date()).getTime()
|
|
1730
1726
|
},
|
|
1731
|
-
headers:
|
|
1727
|
+
headers: {
|
|
1728
|
+
Authorization: `Bearer ${e}`,
|
|
1729
|
+
"X-Origin": location.origin,
|
|
1730
|
+
"Accept-Language": Ze.value
|
|
1731
|
+
}
|
|
1732
1732
|
});
|
|
1733
|
-
|
|
1733
|
+
r != null && r.data && sessionStorage.setItem("userInfo", JSON.stringify(r.data));
|
|
1734
1734
|
} catch {
|
|
1735
1735
|
}
|
|
1736
1736
|
};
|
|
Binary file
|