Commit dccc299a by H.wb.wang.peixun

配置修改

parent 31c94b61
...@@ -5,7 +5,7 @@ VUE_APP_TITLE = RuoYi-Vue-Plus后台管理系统 ...@@ -5,7 +5,7 @@ VUE_APP_TITLE = RuoYi-Vue-Plus后台管理系统
ENV = 'production' ENV = 'production'
# 应用访问路径 例如使用前缀 /admin/ # 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/api' VUE_APP_CONTEXT_PATH = '/'
# 监控地址 # 监控地址
VUE_APP_MONITRO_ADMIN = '/admin/login' VUE_APP_MONITRO_ADMIN = '/admin/login'
...@@ -14,4 +14,4 @@ VUE_APP_MONITRO_ADMIN = '/admin/login' ...@@ -14,4 +14,4 @@ VUE_APP_MONITRO_ADMIN = '/admin/login'
VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin' VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
# 若依管理系统/生产环境 # 若依管理系统/生产环境
VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = '/api'
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
// headers: { // headers: {
// Authorization: "Bearer " + getToken(), // Authorization: "Bearer " + getToken(),
// }, // },
uploadImgUrl: process.env.VUE_APP_BASE_API + '/admin/bicycle/maintenance/uploadFile', uploadImgUrl: process.env.VUE_APP_BASE_API + '/school-paper/banner/uploadFile',
headers: { headers: {
Authorization: "Bearer " + getToken(), Authorization: "Bearer " + getToken(),
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment