Commit b966b788 by zhao_shaonan

修改阿里云后台地址ip

parent 60bd077a
......@@ -3,22 +3,7 @@ var relUrlIp = window.location.host.substring(
window.location.host.length - 5
);
let base = {
bigurl: "",
mapurl: "",
ztptURL:'',
codeUrl:'',
BaseURL:'',//基础查询页得ip
rzURL:'',//刑专二期得(日志)ip
// bigwfwurl: "",
// bigservicesurl: "",
// alyIP: "",
naotuPath: "",
XingZhen: "",
ZhiTu_url: "",
// naotuurl: "",
Ptlogin: "",
ebss: "",
test: ""
BaseURL:'',
};
if (relUrlIp == "133.8.5.1"||
relUrlIp == "68.174.69.46" ||
......@@ -31,51 +16,11 @@ if (relUrlIp == "133.8.5.1"||
relUrlIp == "133.8.5.67" ||
relUrlIp == "26.3.13.120") {
//------------------------------刑侦字典服务路径**公安网**--------------------------------
base.BaseURL="/apiAjzbGaw"
//------------------------------刑专二期(日志)服务路径**公安网**--------------------------------
base.rzURL="/apiXzxtGaw"
//------------------------------ 在逃URL------------------------------
base.ztptURL = 'http://26.3.13.120:8088';
//------------------------------刑侦后台服务路径**公安网**--------------------------------
//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";
base.BaseURL="/apiZwxtGaw"
} 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.rzURL="/apiXzxt"
//------------------------------ 在逃URL------------------------------
base.ztptURL = 'http://26.3.13.120:8088';
//------------------------------刑侦后台服务路径**阿里云**--------------------------------
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";
}*/
base.BaseURL="/apiZwxt"
}
export default base;
......@@ -570,9 +570,8 @@
debugger
var self = this;
var file = "../videos/video.mp3";
var url = 'http://localhost:8080';
var sessionId = 1616495237464;//这里到时候自动生成sessionid,纯数字
this.GrpcCameraService = new GrpcCameraService(url,sessionId);
this.GrpcCameraService = new GrpcCameraService(url.BaseURL,sessionId);
this.GrpcCameraService.getCameraState(finger,(responsepreImg) => {
self.imgUrls = [responsepreImg];
},(resposephoto) => {
......
......@@ -59,36 +59,20 @@ module.exports = {
errors: false
},
proxy: {
"/apiAjzb": {
target: "http://39.99.224.27:8001/", //统一的请求头部每次修改都要重启才会生效
"/apiZwxt": {
target: "http://192.168.100.225:8080/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiAjzb': '/'
'^/apiZwxt': '/'
}
},
"/apiXzxt": {
target: "http://39.98.114.80:8501/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiXzxt': '/'
}
},
"/apiAjzbGaw": {
"/apiZwxtGaw": {
target: "http://26.13.5.1:8001/", //公安网案件侦办地址
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiAjzbGaw': '/'
}
},
"/apiXzxtGaw": {
target: "http://26.13.5.1:8501/", //公安网刑专二期地址
ws: true,
changeOrigin: true,
pathRewrite: {
'^/apiXzxtGaw': '/'
'^/apiZwxtGaw': '/'
}
},
}
......
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