5000端口修改为80端口
This commit is contained in:
parent
4a0e44f51d
commit
70009aef25
|
@ -1 +1 @@
|
||||||
http://172.16.1.168:5000
|
http://172.16.1.168:80
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
http://172.16.1.168:5000
|
http://172.16.1.168:80
|
||||||
|
|
|
@ -40,7 +40,7 @@ export const getStopAlgorithm = params => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
//分析-传视频类型设置接口
|
//分析-传视频类型设置接口
|
||||||
// http://localhost:5000/api/SetVideoMode?Mode=离线视频
|
// http://localhost:80/api/SetVideoMode?Mode=离线视频
|
||||||
export const getSetVideoMode = params => {
|
export const getSetVideoMode = params => {
|
||||||
return axios.get('api/SetVideoMode', {
|
return axios.get('api/SetVideoMode', {
|
||||||
params
|
params
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
* @Author: qiudan 1044775178@qq.com
|
||||||
|
* @Date: 2024-04-07 18:06:23
|
||||||
|
* @LastEditors: qiudan 1044775178@qq.com
|
||||||
|
* @LastEditTime: 2024-04-07 18:14:02
|
||||||
|
* @FilePath: /TransFlow/src/config/apiurl.js
|
||||||
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
|
*/
|
||||||
var ipUurl = window.location.host.split(':')[0];
|
var ipUurl = window.location.host.split(':')[0];
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
ipUurl = '172.16.1.168'
|
ipUurl = '172.16.1.168'
|
||||||
|
@ -12,71 +20,71 @@ export default {
|
||||||
// //编辑图形名称
|
// //编辑图形名称
|
||||||
// editFigure: "http://172.16.1.22:8080/api/EditTuxmc",
|
// editFigure: "http://172.16.1.22:8080/api/EditTuxmc",
|
||||||
|
|
||||||
// dataUrl: 'http://172.16.1.168:5000/api/AddShipjk',
|
// dataUrl: 'http://172.16.1.168:80/api/AddShipjk',
|
||||||
// getSpareElementOrder: 'http://172.16.1.168:5000/api/Upload',
|
// getSpareElementOrder: 'http://172.16.1.168:80/api/Upload',
|
||||||
// postSetQuanjsz: 'http://172.16.1.168:5000/api/SetQuanjsz',
|
// postSetQuanjsz: 'http://172.16.1.168:80/api/SetQuanjsz',
|
||||||
// saveRoleApi: 'http://172.16.1.168:5000/api/AddZhangh',
|
// saveRoleApi: 'http://172.16.1.168:80/api/AddZhangh',
|
||||||
// saveSetFtppz: 'http://172.16.1.168:5000/api/SetFtppz',
|
// saveSetFtppz: 'http://172.16.1.168:80/api/SetFtppz',
|
||||||
// //编辑保存组件弹窗传参
|
// //编辑保存组件弹窗传参
|
||||||
// editComponent: 'http://172.16.1.168:5000/api/SetMonqjkzjcs',
|
// editComponent: 'http://172.16.1.168:80/api/SetMonqjkzjcs',
|
||||||
// //保存主机名称
|
// //保存主机名称
|
||||||
// editRoleApi: 'http://172.16.1.168:5000/api/EditZhangh',
|
// editRoleApi: 'http://172.16.1.168:80/api/EditZhangh',
|
||||||
// //新增图形接口
|
// //新增图形接口
|
||||||
// addFigure: 'http://172.16.1.168:5000/api/AddJianktx',
|
// addFigure: 'http://172.16.1.168:80/api/AddJianktx',
|
||||||
// //编辑图形名称
|
// //编辑图形名称
|
||||||
// editFigure: 'http://172.16.1.168:5000/api/EditTuxmc',
|
// editFigure: 'http://172.16.1.168:80/api/EditTuxmc',
|
||||||
// //编辑保存组件弹窗传参
|
// //编辑保存组件弹窗传参
|
||||||
// setHostName: 'http://172.16.1.168:5000/api/SetHostName',
|
// setHostName: 'http://172.16.1.168:80/api/SetHostName',
|
||||||
// setHostTime: 'http://172.16.1.168:5000/api/SetHostTime',
|
// setHostTime: 'http://172.16.1.168:80/api/SetHostTime',
|
||||||
// changePassowrd:'http://172.16.1.168:5000/api/ChangePassword',
|
// changePassowrd:'http://172.16.1.168:80/api/ChangePassword',
|
||||||
// //还原服务器设置上传
|
// //还原服务器设置上传
|
||||||
// postConfigRestore:'http://172.16.1.168:5000/api/ConfigRestore',
|
// postConfigRestore:'http://172.16.1.168:80/api/ConfigRestore',
|
||||||
// //更新软件版本
|
// //更新软件版本
|
||||||
// postConfigUpdate:'http://172.16.1.168:5000/api/Update',
|
// postConfigUpdate:'http://172.16.1.168:80/api/Update',
|
||||||
// //新增接入方
|
// //新增接入方
|
||||||
// postAddJierf:'http://172.16.1.168:5000/api/AddJierf',
|
// postAddJierf:'http://172.16.1.168:80/api/AddJierf',
|
||||||
// //编辑接入方
|
// //编辑接入方
|
||||||
// postEditJierf:'http://172.16.1.168:5000/api/EditJierf',
|
// postEditJierf:'http://172.16.1.168:80/api/EditJierf',
|
||||||
// //设置组件
|
// //设置组件
|
||||||
// setComponents:'http://172.16.1.168:5000/api/SetComponents',
|
// setComponents:'http://172.16.1.168:80/api/SetComponents',
|
||||||
// //设置接入方接口
|
// //设置接入方接口
|
||||||
// setAccessParty:'http://172.16.1.168:5000/api/setAccessParty',
|
// setAccessParty:'http://172.16.1.168:80/api/setAccessParty',
|
||||||
// `http://${ipUurl}:5000/api/AddShipjk`
|
// `http://${ipUurl}:80/api/AddShipjk`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dataUrl: `http://${ipUurl}:5000/api/AddShipjk`,
|
dataUrl: `http://${ipUurl}:80/api/AddShipjk`,
|
||||||
getSpareElementOrder: `http://${ipUurl}:5000/api/Upload`,
|
getSpareElementOrder: `http://${ipUurl}:80/api/Upload`,
|
||||||
postSetQuanjsz: `http://${ipUurl}:5000/api/SetQuanjsz`,
|
postSetQuanjsz: `http://${ipUurl}:80/api/SetQuanjsz`,
|
||||||
//新增图形接口
|
//新增图形接口
|
||||||
addFigure: `http://${ipUurl}:5000/api/AddJianktx`,
|
addFigure: `http://${ipUurl}:80/api/AddJianktx`,
|
||||||
//编辑图形名称
|
//编辑图形名称
|
||||||
editFigure: `http://${ipUurl}:5000/api/EditTuxmc`,
|
editFigure: `http://${ipUurl}:80/api/EditTuxmc`,
|
||||||
//根据视频监控id获取监控图形数据
|
//根据视频监控id获取监控图形数据
|
||||||
// getJianktx: `http://${ipUurl}:5000/api/GetJianktx`,
|
// getJianktx: `http://${ipUurl}:80/api/GetJianktx`,
|
||||||
//编辑保存组件弹窗传参
|
//编辑保存组件弹窗传参
|
||||||
editComponent: `http://${ipUurl}:5000/api/SetMonqjkzjcs`,
|
editComponent: `http://${ipUurl}:80/api/SetMonqjkzjcs`,
|
||||||
//保存主机名称
|
//保存主机名称
|
||||||
editRoleApi: `http://${ipUurl}:5000/api/EditZhangh`,
|
editRoleApi: `http://${ipUurl}:80/api/EditZhangh`,
|
||||||
saveRoleApi: `http://${ipUurl}:5000/api/AddZhangh`,
|
saveRoleApi: `http://${ipUurl}:80/api/AddZhangh`,
|
||||||
saveSetFtppz: `http://${ipUurl}:5000/api/SetFtppz`,
|
saveSetFtppz: `http://${ipUurl}:80/api/SetFtppz`,
|
||||||
//编辑保存组件弹窗传参
|
//编辑保存组件弹窗传参
|
||||||
setHostName: `http://${ipUurl}:5000/api/SetHostName`,
|
setHostName: `http://${ipUurl}:80/api/SetHostName`,
|
||||||
setHostTime: `http://${ipUurl}:5000/api/SetHostTime`,
|
setHostTime: `http://${ipUurl}:80/api/SetHostTime`,
|
||||||
changePassowrd: `http://${ipUurl}:5000/api/ChangePassword`,
|
changePassowrd: `http://${ipUurl}:80/api/ChangePassword`,
|
||||||
//还原服务器设置上传
|
//还原服务器设置上传
|
||||||
postConfigRestore: `http://${ipUurl}:5000/api/ConfigRestore`,
|
postConfigRestore: `http://${ipUurl}:80/api/ConfigRestore`,
|
||||||
//更新软件版本
|
//更新软件版本
|
||||||
postConfigUpdate: `http://${ipUurl}:5000/api/Update`,
|
postConfigUpdate: `http://${ipUurl}:80/api/Update`,
|
||||||
//新增接入方
|
//新增接入方
|
||||||
postAddJierf: `http://${ipUurl}:5000/api/AddJierf`,
|
postAddJierf: `http://${ipUurl}:80/api/AddJierf`,
|
||||||
//编辑接入方
|
//编辑接入方
|
||||||
postEditJierf: `http://${ipUurl}:5000/api/EditJierf`,
|
postEditJierf: `http://${ipUurl}:80/api/EditJierf`,
|
||||||
//设置组件
|
//设置组件
|
||||||
setComponents: `http://${ipUurl}:5000/api/SetComponents`,
|
setComponents: `http://${ipUurl}:80/api/SetComponents`,
|
||||||
setAccessParty: `http://${ipUurl}:5000/api/setAccessParty`,
|
setAccessParty: `http://${ipUurl}:80/api/setAccessParty`,
|
||||||
//自动校时接口
|
//自动校时接口
|
||||||
setAutomatic: `http://${ipUurl}:5000/api/SetAutomaticTiming`,
|
setAutomatic: `http://${ipUurl}:80/api/SetAutomaticTiming`,
|
||||||
|
|
||||||
};
|
};
|
|
@ -867,11 +867,11 @@ export default {
|
||||||
},
|
},
|
||||||
OnSceneload(newV) {
|
OnSceneload(newV) {
|
||||||
var ip = window.location.host;
|
var ip = window.location.host;
|
||||||
this.ipData = 'http://' + ip.split(':')[0] + ':5000';
|
this.ipData = 'http://' + ip.split(':')[0] + ':80';
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
this.ipData = 'http://172.16.1.168:5000';
|
this.ipData = 'http://172.16.1.168:80';
|
||||||
}
|
}
|
||||||
// this.$refs.analysisWeb.contentWindow.getIpData("http://172.16.1.168:5000");
|
// this.$refs.analysisWeb.contentWindow.getIpData("http://172.16.1.168:80");
|
||||||
this.$refs.analysisWeb.contentWindow.getIpData(this.ipData);
|
this.$refs.analysisWeb.contentWindow.getIpData(this.ipData);
|
||||||
this.$refs.analysisWeb.contentWindow.getDianwei(this.$route.query.id);
|
this.$refs.analysisWeb.contentWindow.getDianwei(this.$route.query.id);
|
||||||
this.unityDone = true;
|
this.unityDone = true;
|
||||||
|
|
|
@ -1424,7 +1424,7 @@ export default {
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
ip = '172.16.1.168';
|
ip = '172.16.1.168';
|
||||||
}
|
}
|
||||||
// var ip = '172.16.1.168'; //http://172.16.1.168:5000
|
// var ip = '172.16.1.168'; //http://172.16.1.168:80
|
||||||
//console.log('ip', ip);
|
//console.log('ip', ip);
|
||||||
getAnalysisData(this.$route.query.id, ip).then((res) => {
|
getAnalysisData(this.$route.query.id, ip).then((res) => {
|
||||||
//console.log('res.data.data', res.data.data);
|
//console.log('res.data.data', res.data.data);
|
||||||
|
@ -1708,7 +1708,7 @@ export default {
|
||||||
//初始化unity
|
//初始化unity
|
||||||
OnSceneN() {
|
OnSceneN() {
|
||||||
var ip = window.location.host;
|
var ip = window.location.host;
|
||||||
// this.ipData = 'http://' + ip.split(':')[0] + ':5000';
|
// this.ipData = 'http://' + ip.split(':')[0] + ':80';
|
||||||
this.ipData = 'http://' + ip.split(':')[0];
|
this.ipData = 'http://' + ip.split(':')[0];
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
this.ipData = 'http://172.16.1.168';
|
this.ipData = 'http://172.16.1.168';
|
||||||
|
|
|
@ -50,7 +50,7 @@ module.exports = {
|
||||||
host: myHost,
|
host: myHost,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': { //代理的名字
|
'/api': { //代理的名字
|
||||||
target: 'http://172.16.1.168:5000/api/',
|
target: 'http://172.16.1.168:80/api/',
|
||||||
// target: 'http://172.16.1.178:5001/',
|
// target: 'http://172.16.1.178:5001/',
|
||||||
// target: 'http://ht.api.umayle.com:2022',
|
// target: 'http://ht.api.umayle.com:2022',
|
||||||
ws: true,
|
ws: true,
|
||||||
|
|
Loading…
Reference in New Issue