|
@@ -1,45 +1,49 @@
|
|
|
-let dc = 'http://back-apit.weipaitang.com';
|
|
|
-let tc = 'http://localhost:8080';
|
|
|
-let apiCdn = 'http://cdn01t.weipaitang.com/img/';
|
|
|
-let auth = 'https://back-autht.weipaitang.com';
|
|
|
-let hostDev = 'http://back-admint.weipaitang.com';
|
|
|
-let us = 'http://back-apit.weipaitang.com';
|
|
|
-let sTaskJobLog = "http://10.3.7.11:16686"; // 定时任务日志跳转
|
|
|
+let dc = 'http://back-apit.weipaitang.com'
|
|
|
+let tc = 'http://localhost:8080'
|
|
|
+const apiCdn = 'http://cdn01t.weipaitang.com/img/'
|
|
|
+let auth = 'https://back-autht.weipaitang.com'
|
|
|
+let hostDev = 'http://back-admint.weipaitang.com'
|
|
|
+let us = 'http://back-apit.weipaitang.com'
|
|
|
+let sTaskJobLog = 'http://10.3.7.11:16686' // 定时任务日志跳转
|
|
|
+let thanos = 'http://thanos-admint.wpt.la'
|
|
|
|
|
|
if (document.domain === 'localhost') {
|
|
|
-
|
|
|
// dc = 'http://localhost:8000/api'
|
|
|
// dc = 'http://backend.wpt.local:8087'
|
|
|
- dc = 'http://back-apit.weipaitang.com';
|
|
|
-
|
|
|
+ dc = 'http://back-apit.weipaitang.com'
|
|
|
+ thanos = 'http://thanos-admint.wpt.la'
|
|
|
} else if (document.domain === 'back-admint.wpt.la') {
|
|
|
- dc = 'http://back-apit.weipaitang.com';
|
|
|
- us = 'http://back-apit.weipaitang.com';
|
|
|
- tc = 'http://back-apit.weipaitang.com';
|
|
|
- auth = 'https://back-autht.weipaitang.com';
|
|
|
- hostDev = 'http://back-admint.weipaitang.com';
|
|
|
- sTaskJobLog = "http://10.3.7.11:16686"; // 定时任务日志跳转
|
|
|
+ dc = 'http://back-apit.weipaitang.com'
|
|
|
+ us = 'http://back-apit.weipaitang.com'
|
|
|
+ tc = 'http://back-apit.weipaitang.com'
|
|
|
+ auth = 'https://back-autht.weipaitang.com'
|
|
|
+ hostDev = 'http://back-admint.weipaitang.com'
|
|
|
+ sTaskJobLog = 'http://10.3.7.11:16686' // 定时任务日志跳转
|
|
|
+ thanos = 'http://thanos-admint.wpt.la'
|
|
|
} else if (document.domain === 'back-admint.weipaitang.com') {
|
|
|
- dc = 'http://back-apit.weipaitang.com';
|
|
|
- tc = 'http://back-apit.weipaitang.com';
|
|
|
- auth = 'https://back-autht.weipaitang.com';
|
|
|
- us = 'http://back-apit.weipaitang.com';
|
|
|
- hostDev = 'http://back-admint.weipaitang.com';
|
|
|
- sTaskJobLog = "http://10.3.7.11:16686"; // 定时任务日志跳转
|
|
|
+ dc = 'http://back-apit.weipaitang.com'
|
|
|
+ tc = 'http://back-apit.weipaitang.com'
|
|
|
+ auth = 'https://back-autht.weipaitang.com'
|
|
|
+ us = 'http://back-apit.weipaitang.com'
|
|
|
+ hostDev = 'http://back-admint.weipaitang.com'
|
|
|
+ sTaskJobLog = 'http://10.3.7.11:16686' // 定时任务日志跳转
|
|
|
+ thanos = 'http://thanos-admint.wpt.la'
|
|
|
} else if (document.domain === 'back-admin.wpt.la') {
|
|
|
- dc = 'http://back-admin.wpt.la/api';
|
|
|
- tc = 'http://back-admin.wpt.la/api';
|
|
|
- auth = 'https://back-auth.weipaitang.com';
|
|
|
- us = 'http://back-api.weipaitang.com';
|
|
|
- hostDev = 'http://back-admin.wpt.la';
|
|
|
- sTaskJobLog = "http://10.3.7.11:16686"; // 定时任务日志跳转
|
|
|
+ dc = 'http://back-admin.wpt.la/api'
|
|
|
+ tc = 'http://back-admin.wpt.la/api'
|
|
|
+ auth = 'https://back-auth.weipaitang.com'
|
|
|
+ us = 'http://back-api.weipaitang.com'
|
|
|
+ hostDev = 'http://back-admin.wpt.la'
|
|
|
+ sTaskJobLog = 'http://10.3.7.11:16686' // 定时任务日志跳转
|
|
|
+ thanos = 'http://thanos-admin-inside.wptqc.com'
|
|
|
} else if (document.domain === 'back-admin.weipaitang.com') {
|
|
|
- dc = 'http://back-api.weipaitang.com';
|
|
|
- tc = 'http://back-api.weipaitang.com';
|
|
|
- auth = 'https://back-auth.weipaitang.com';
|
|
|
- us = 'http://back-api.weipaitang.com';
|
|
|
- hostDev = 'http://back-admin.weipaitang.com';
|
|
|
- sTaskJobLog = "http://ms-trace.weipaitang.com"; // 定时任务日志跳转
|
|
|
+ dc = 'http://back-api.weipaitang.com'
|
|
|
+ tc = 'http://back-api.weipaitang.com'
|
|
|
+ auth = 'https://back-auth.weipaitang.com'
|
|
|
+ us = 'http://back-api.weipaitang.com'
|
|
|
+ hostDev = 'http://back-admin.weipaitang.com'
|
|
|
+ sTaskJobLog = 'http://ms-trace.weipaitang.com' // 定时任务日志跳转
|
|
|
+ thanos = 'http://thanos-admin-inside.wptqc.com'
|
|
|
}
|
|
|
|
|
|
export {
|
|
@@ -49,5 +53,6 @@ export {
|
|
|
apiCdn,
|
|
|
auth,
|
|
|
hostDev,
|
|
|
- sTaskJobLog
|
|
|
+ sTaskJobLog,
|
|
|
+ thanos
|
|
|
}
|