prod-api改成cac-api

newHome1.0
fanluyan 1 year ago
parent ac5a00ef4a
commit f44cee9ec8

@ -2,4 +2,4 @@
ENV = 'production'
# 管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = '/cac-api'

@ -1,8 +1,13 @@
const UPMS_SREVICE='/api-upms';
const AUTH_SREVICE='/prod-api';
const LOGS_SREVICE='/api-logs';
const GEN_CODE_SREVICE='/api-gen';
const SJZD_SREVICE='http://127.0.0.1:8081';
const UPMS_SREVICE = "/api-upms";
const AUTH_SREVICE = "/cac-api";
const LOGS_SREVICE = "/api-logs";
const GEN_CODE_SREVICE = "/api-gen";
const SJZD_SREVICE = "http://127.0.0.1:8081";
export { UPMS_SREVICE, AUTH_SREVICE, LOGS_SREVICE, GEN_CODE_SREVICE,SJZD_SREVICE}
export {
UPMS_SREVICE,
AUTH_SREVICE,
LOGS_SREVICE,
GEN_CODE_SREVICE,
SJZD_SREVICE,
};

@ -57,7 +57,7 @@ module.exports = {
//target: `http://127.0.0.1:8082/`,
changeOrigin: true,
pathRewrite: {
["^/api"]: "/prod-api",
["^/api"]: "/cac-api",
},
// pathRewrite: {
// ["^" + process.env.VUE_APP_BASE_API]: "",

Loading…
Cancel
Save