mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
配置文件回退
This commit is contained in:
@@ -16,22 +16,22 @@ VUE_APP_CESOURCE_BASE_API = '/socialApi'
|
||||
VUE_APP_STAT_BASE_API = '/statApi'
|
||||
|
||||
# BOE系统网址
|
||||
VUE_APP_BOE_WEB_URL = 'https://pretest.zcwytd.com'
|
||||
VUE_APP_BOE_WEB_URL = 'https://u-pre.boe.com'
|
||||
|
||||
# BOE 移动端url
|
||||
# VUE_APP_BOE_MOBILE_URL = 'http://127.0.0.1:8082/mobile'
|
||||
VUE_APP_BOE_MOBILE_URL = 'https://pretest.zcwytd.com'
|
||||
VUE_APP_BOE_MOBILE_URL = 'https://u-pre.boe.com'
|
||||
|
||||
# File路径的基础url
|
||||
# VUE_APP_FILE_BASE_URL = 'http://127.0.0.1:9090/cdn/upload'
|
||||
VUE_APP_FILE_BASE_URL='https://pretest.zcwytd.com/upload'
|
||||
VUE_APP_FILE_BASE_URL='https://u-pre.boe.com/upload'
|
||||
|
||||
# File路径的基础url的相对路径,加此项是为了不影响之前的路径配置
|
||||
VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
||||
|
||||
|
||||
# 受众批量导入人员信息URL
|
||||
VUE_APP_AUDIENCE_IMPORT_URL = 'https://pretest.zcwytd.com/userbasic/audience/import'
|
||||
VUE_APP_AUDIENCE_IMPORT_URL = 'https://u-pre.boe.com/userbasic/audience/import'
|
||||
|
||||
# 登录地址
|
||||
VUE_APP_LOGIN_URL='/pc/login'
|
||||
@@ -47,7 +47,7 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
# scorm课件的播放url地址
|
||||
# VUE_APP_SCORM_URL = 'http://localhost:9083/scorm-player'
|
||||
VUE_APP_SCORM_URL = 'https://pretest.zcwytd.com/newscorm/scorm-player'
|
||||
VUE_APP_SCORM_URL = 'https://u-pre.boe.com/newscorm/scorm-player'
|
||||
|
||||
#案例组织领域类型
|
||||
VUE_APP_CASE_TYPE = '90'
|
||||
|
||||
@@ -58,7 +58,7 @@ router.beforeEach((to, from, next) => {
|
||||
console.log(err);
|
||||
store.commit('app/SET_INITDATA',false);
|
||||
//如果初始化错误,就不再执行了,不然会一直循环下去
|
||||
// next({ path: '/500' })
|
||||
next({ path: '/500' })
|
||||
//NProgress.done();
|
||||
})
|
||||
} else {
|
||||
|
||||
@@ -126,7 +126,6 @@ module.exports = {
|
||||
proxy: {
|
||||
'/manageApi': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
@@ -137,7 +136,6 @@ module.exports = {
|
||||
'/systemapi': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'http://127.0.0.1:9090',
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
logLevel: 'debug',
|
||||
@@ -148,7 +146,6 @@ module.exports = {
|
||||
},
|
||||
'/uboeApi': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
@@ -158,7 +155,6 @@ module.exports = {
|
||||
},
|
||||
'/userbasic': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
@@ -169,7 +165,6 @@ module.exports = {
|
||||
'/statApi': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'http://127.0.0.1:9080',
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
logLevel: 'debug',
|
||||
@@ -181,7 +176,6 @@ module.exports = {
|
||||
'/socialApi': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'http://127.0.0.1:9081',
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
logLevel: 'debug',
|
||||
@@ -192,7 +186,6 @@ module.exports = {
|
||||
},
|
||||
'/report': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
@@ -202,14 +195,12 @@ module.exports = {
|
||||
},
|
||||
'/infrasApi': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
'/activityApi': {
|
||||
// 目标代理服务器地址
|
||||
// target: 'https://pretest.zcwytd.com',
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
|
||||
Reference in New Issue
Block a user