@yeeyoon/library 3.5.3 → 3.5.6
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.
@@ -7,7 +7,6 @@ const Icons = createFromIconfontCN({
|
|
7
7
|
'//at.alicdn.com/t/font_2832661_kmrn4o901g.js', //宜云协同iconfont
|
8
8
|
'//at.alicdn.com/t/font_2832313_vjeg45f5qof.js',
|
9
9
|
'//at.alicdn.com/t/font_2965204_9g0wekoduag.js', //租户管理
|
10
|
-
'//at.alicdn.com/t/font_3133477_q292mp6e2u.js',
|
11
10
|
],
|
12
11
|
});
|
13
12
|
|
package/lib/config/env.js
CHANGED
@@ -93,10 +93,10 @@ function getEnvHost(product, path = '') {
|
|
93
93
|
|
94
94
|
function getHuashanEnvHost(isLogin = false) {
|
95
95
|
if (REACT_APP_ENV === 'prod') {
|
96
|
-
if (isLogin) return 'https://huashan-login.yeeyoon.com
|
96
|
+
if (isLogin) return 'https://huashan-login.yeeyoon.com';
|
97
97
|
else return 'https://huashan.yeeyoon.com';
|
98
98
|
} else {
|
99
|
-
if (isLogin) return 'https://testing-huashan-login.yeeyoon.com
|
99
|
+
if (isLogin) return 'https://testing-huashan-login.yeeyoon.com';
|
100
100
|
else return 'https://testing-huashan.yeeyoon.com';
|
101
101
|
}
|
102
102
|
}
|
@@ -138,7 +138,8 @@ export const HOST_PROFILE_GROUP = getEnvHost('profile', '/user-profile/group');
|
|
138
138
|
export const HOST_ZHONGTAI_XLT = getEnvHost('zhongtai_cy');
|
139
139
|
export const HOST_ZHONGTAI_CY = getEnvHost('zhongtai_xlt');
|
140
140
|
|
141
|
-
export const
|
141
|
+
export const HOST_HUASHAN_LOGIN_BASE = getHuashanEnvHost(true);
|
142
|
+
export const HOST_HUASHAN_LOGIN = `${getHuashanEnvHost(true)}/login`;
|
142
143
|
export const HOST_HUASHAN_BPM = getHuashanEnvHost();
|
143
144
|
|
144
145
|
// API
|
@@ -162,6 +163,7 @@ console.log(
|
|
162
163
|
`HOST_PROFILE_MESSAGE: ${HOST_PROFILE_MESSAGE}\n`,
|
163
164
|
`HOST_ZHONGTAI_XLT: ${HOST_ZHONGTAI_XLT}\n`,
|
164
165
|
`HOST_ZHONGTAI_CY: ${HOST_ZHONGTAI_CY}\n`,
|
166
|
+
`HOST_HUASHAN_LOGIN_BASE: ${HOST_HUASHAN_LOGIN_BASE}\n`,
|
165
167
|
`HOST_HUASHAN_LOGIN: ${HOST_HUASHAN_LOGIN}\n`,
|
166
168
|
`HOST_HUASHAN_BPM: ${HOST_HUASHAN_BPM}\n`,
|
167
169
|
`------------------------------------\n`,
|