zmdms-utils 0.0.63 → 0.0.65

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.
@@ -0,0 +1,3 @@
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ export { commonjsGlobal };
@@ -0,0 +1,7 @@
1
+ var decimalExports = {};
2
+ var decimal = {
3
+ get exports(){ return decimalExports; },
4
+ set exports(v){ decimalExports = v; },
5
+ };
6
+
7
+ export { decimal as __module, decimalExports as exports };
@@ -33,9 +33,9 @@ function getBaseUrl(processObj, options) {
33
33
  // 退出登录地址
34
34
  var logoutUrl = {
35
35
  dev: processObj["".concat(logoutKey, "_DEV")] || "/login",
36
- test: processObj["".concat(logoutKey, "_DEV")] || "/login",
37
- stage: processObj["".concat(logoutKey, "_DEV")] || "http://testportal.cncico.com:8099/",
38
- prod: processObj["".concat(logoutKey, "_DEV")] || "http://newportal.cncico.com/",
36
+ test: processObj["".concat(logoutKey, "_TEST")] || "/login",
37
+ stage: processObj["".concat(logoutKey, "_STAGE")] || "http://testportal.cncico.com:8099/",
38
+ prod: processObj["".concat(logoutKey, "_PROD")] || "http://newportal.cncico.com/",
39
39
  };
40
40
  var currentKey = ENV.toLowerCase() || "prod";
41
41
  return {
@@ -14,7 +14,7 @@ declare const EMITTER_TYPE: {
14
14
  treeSearchWhitePath: string;
15
15
  treeSearchSet: string;
16
16
  };
17
- declare const TOKEN_KEY = "Cicoms-Auth";
18
- declare const BASIC_KEY = "cicoms";
17
+ declare const TOKEN_KEY: any;
18
+ declare const BASIC_KEY: any;
19
19
 
20
20
  export { BASIC_KEY, EMITTER_CCP_KEY, EMITTER_PCC_KEY, EMITTER_TYPE, TOKEN_KEY };
@@ -21,9 +21,9 @@ var EMITTER_TYPE = {
21
21
  };
22
22
  // token key 值
23
23
  // export const TOKEN_KEY = "Zmdms-Auth";
24
- var TOKEN_KEY = "Cicoms-Auth";
24
+ var TOKEN_KEY = window.__TOKEN_KEY__ || "Cicoms-Auth";
25
25
  // 基础前缀
26
26
  // export const BASIC_KEY = "zmdms";
27
- var BASIC_KEY = "cicoms";
27
+ var BASIC_KEY = window.__BASIC_KEY__ || "cicoms";
28
28
 
29
29
  export { BASIC_KEY, EMITTER_CCP_KEY, EMITTER_PCC_KEY, EMITTER_TYPE, PERSONNEL_CENTER_APPNAME, SALARY_CENTER_APPNAME, TOKEN_KEY };