|
@@ -1,9 +1,7 @@
|
|
|
// 本地开发环境
|
|
|
const local = {
|
|
|
- // oss: 'http://jnjymf_api.bozedu.top/',
|
|
|
- // api: 'http://jnjymf_api.bozedu.top/',
|
|
|
- oss: 'http://60.188.226.44:8090/',
|
|
|
- api: 'http://60.188.226.44:8090/',
|
|
|
+ oss: 'http://jnjymf_api.bozedu.top/',
|
|
|
+ api: 'http://jnjymf_api.bozedu.top/',
|
|
|
login: 'https://qqyxt.dev.bozedu.net/app/activityRating/home/login.html',
|
|
|
origin: window.location.origin,
|
|
|
wpsserver: 'http://47.99.64.200:3888/loading.html'
|
|
@@ -11,10 +9,8 @@ const local = {
|
|
|
|
|
|
// 测试服环境
|
|
|
const development = {
|
|
|
- // oss: 'http://jnjymf_api.bozedu.top/',
|
|
|
- // api: 'http://jnjymf_api.bozedu.top/',
|
|
|
- oss: 'http://60.188.226.44:8090/',
|
|
|
- api: 'http://60.188.226.44:8090/',
|
|
|
+ oss: 'http://jnjymf_api.bozedu.top/',
|
|
|
+ api: 'http://jnjymf_api.bozedu.top/',
|
|
|
login: 'https://qqyxt.dev.bozedu.net/app/activityRating/home/login.html',
|
|
|
origin: window.location.origin + '/app/jdbg/',
|
|
|
wpsserver: 'http://47.99.64.200:3888/loading.html'
|
|
@@ -31,9 +27,9 @@ const production = {
|
|
|
|
|
|
function isWhich() {
|
|
|
if (window.location.href.includes('localhost')) {
|
|
|
- return production
|
|
|
+ return local
|
|
|
} else if (window.location.href.includes('bozedu')) {
|
|
|
- return production
|
|
|
+ return development
|
|
|
} else {
|
|
|
return production
|
|
|
}
|