Commit bd447687 by cc150520900118

命案系统基础环境搭建

parent f74ab64b
......@@ -3,23 +3,8 @@ var relUrlIp = window.location.host.substring(
window.location.host.length - 5
);
let base = {
eqMhUrl:'',
bigurl: "",
mapurl: "",
ztptURL:'',
codeUrl:'',
BaseURL:'',//基础查询页得ip
rzURL:'',//刑专二期得(日志)ip
// bigwfwurl: "",
// bigservicesurl: "",
// alyIP: "",
naotuPath: "",
XingZhen: "",
ZhiTu_url: "",
// naotuurl: "",
Ptlogin: "",
ebss: "",
test: ""
};
if (relUrlIp == "133.8.5.1"||
relUrlIp == "68.174.69.46" ||
......@@ -32,55 +17,17 @@ if (relUrlIp == "133.8.5.1"||
relUrlIp == "133.8.5.67" ||
relUrlIp == "26.3.13.120") {
//------------------------------刑侦字典服务路径**公安网**--------------------------------
base.BaseURL="/apiAjzbGaw"
base.BaseURL="/apiMaxtGaw"
//------------------------------刑专二期(日志)服务路径**公安网**--------------------------------
base.rzURL="/apiXzxtGaw"
//------------------------------ 在逃URL------------------------------
base.ztptURL = 'http://26.3.13.120:8088';
//------------------------------ 门户URL------------------------------
base.eqMhUrl='http://zhyy.xzxt.nm:8080';
//------------------------------刑侦后台服务路径**公安网**--------------------------------
//base.XingZhen = "http://68.174.69.95";
//------------------------------地图后台服务路径**公安网**--------------------------------
//base.mapurl = "http://68.174.25.99:8051";
//------------------------------登陆后台服务路径**公安网**--------------------------------
//base.Ptlogin = "http://68.174.25.99:8061";
//------------------------------ebss后台服务路径**公安网**--------------------------------
//base.ebss = "http://68.174.25.107:8090";
//------------------------------脑图后台服务路径**公安网**--------------------------------
//base.bigurl = "http://77.1.24.51:8080";
//------------------------------东莞智通后台服务路径**公安网**----------------------------
//base.ZhiTu_url = "http://39.99.159.210:8053";
//------------------------------脑图后台服务路径**公安网**--------------------------------
//base.bigwfwurl = "http://77.1.24.51:8050";
} else{
//------------------------------刑侦字典服务路径**阿里云**--------------------------------
//base.BaseURL="http://192.168.31.210:8080"/*杨洋本地端口号8080*/
//base.BaseURL="http://192.168.31.210:8001"/*192.168.31.210*//*localhost*/
base.BaseURL="/apiAjzb"
base.BaseURL="/apiMaxt"
//------------------------------刑专二期(日志)服务路径**阿里云**--------------------------------
base.rzURL="/apiXzxt"
//------------------------------ 在逃URL------------------------------
base.ztptURL = 'http://26.3.13.120:8088';
//------------------------------ 门户URL------------------------------
base.eqMhUrl='http://39.99.155.173/';
//------------------------------刑侦后台服务路径**阿里云**--------------------------------
base.XingZhen = "http://68.174.69.95";
//------------------------------地图后台服务路径**阿里云**--------------------------------
base.mapurl = "http://68.174.25.99:8051";
//------------------------------登陆后台服务路径**阿里云**--------------------------------
base.Ptlogin = "http://68.174.25.99:8061";
//------------------------------ebss后台服务路径**阿里云**--------------------------------
base.ebss = "http://68.174.25.107:8090";
//------------------------------脑图后台服务路径**阿里云**--------------------------------
base.bigurl = "http://77.1.24.51:8080";
//------------------------------东莞智通后台服务路径**阿里云**----------------------------
base.ZhiTu_url = "http://39.99.159.210:8053";
//------------------------------脑图后台服务路径**阿里云**--------------------------------
base.bigwfwurl = "http://77.1.24.51:8050";
} /*else {
//------------------------------脑图后台服务路径**测试**----------------------------------
base.test = "http://39.99.159.210:8052";
}*/
}
export default base;
......@@ -4,10 +4,10 @@ import url from "@/api/base";
/*code*/
export default {
/*登录*/
login(username, password) {
login(account, password) {
return request({
url:url.BaseURL+"/login",
params: { username, password },
url:url.BaseURL+"/blade-auth/token",
params: { account, password },
method: "post"
});
},
......
......@@ -60,12 +60,12 @@ module.exports = {
errors: false
},
proxy: {
"/apiAjzb": {
target: "http://39.99.224.27:8001/", //统一的请求头部每次修改都要重启才会生效
"/apiMaxt": {
target: "http://192.168.0.140:9022/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiAjzb': '/'
'^/apiMaxt': '/'
}
},
"/apiXzxt": {
......@@ -76,12 +76,12 @@ module.exports = {
'^/apiXzxt': '/'
}
},
"/apiAjzbGaw": {
"/apiMaxtGaw": {
target: "http://26.13.5.1:8001/", //公安网案件侦办地址
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiAjzbGaw': '/'
'^/apiMaxtGaw': '/'
}
},
"/apiXzxtGaw": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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