|
@@ -2,8 +2,7 @@
|
|
|
const local = {
|
|
|
web_pc: 'http://127.0.0.1:7001',
|
|
|
spjj: 'http://127.0.0.1:7001/index.html#',
|
|
|
- // web_mobile: 'https://tyyxm.bozedu.top/',
|
|
|
- openapi: 'https://openapi.bozedu.net',
|
|
|
+ openapi: 'https://openapi.bozedu.top',
|
|
|
api: 'https://aimoocapi.bozedu.top',
|
|
|
oss: 'https://oss.bozedu.net',
|
|
|
uc: 'https://uc.dev.bozedu.net/',
|
|
@@ -14,11 +13,11 @@ const local = {
|
|
|
const development = {
|
|
|
web_pc: 'https://aimooc.bozedu.top',
|
|
|
spjj: 'https://aimoocspjj.bozedu.top/#',
|
|
|
- openapi: 'https://openapi.dev.bozedu.net',
|
|
|
- origin: window.location.origin,
|
|
|
+ openapi: 'https://openapi.dev.bozedu.top',
|
|
|
api: 'https://aimoocapi.bozedu.top',
|
|
|
oss: 'https://oss.bozedu.net',
|
|
|
uc: 'https://uc.dev.bozedu.net/',
|
|
|
+ origin: window.location.origin,
|
|
|
}
|
|
|
|
|
|
// // 正式服环境
|
|
@@ -26,10 +25,10 @@ const production = {
|
|
|
web_pc: 'https://aimooc.bozedu.net',
|
|
|
spjj: 'https://aimoocspjj.bozedu.net/#',
|
|
|
openapi: 'https://openapi.bozedu.net',
|
|
|
- origin: window.location.origin,
|
|
|
api: 'https://aimoocapi.bozedu.net',
|
|
|
oss: 'https://oss.bozedu.net',
|
|
|
uc: 'https://uc.bozedu.net/',
|
|
|
+ origin: window.location.origin,
|
|
|
}
|
|
|
|
|
|
function isWhich() {
|