Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
b966b788
Commit
b966b788
authored
Mar 30, 2021
by
zhao_shaonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改阿里云后台地址ip
parent
60bd077a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
83 deletions
+11
-83
src/api/base.js
+5
-60
src/views/zwxt/fingerprint.vue
+1
-2
vue.config.js
+5
-21
No files found.
src/api/base.js
View file @
b966b788
...
...
@@ -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
;
src/views/zwxt/fingerprint.vue
View file @
b966b788
...
...
@@ -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
)
=>
{
...
...
vue.config.js
View file @
b966b788
...
...
@@ -59,36 +59,20 @@ module.exports = {
errors
:
false
},
proxy
:
{
"/api
Ajzb
"
:
{
target
:
"http://
39.99.224.27:8001
/"
,
//统一的请求头部每次修改都要重启才会生效
"/api
Zwxt
"
:
{
target
:
"http://
192.168.100.225:8080
/"
,
//统一的请求头部每次修改都要重启才会生效
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/api
Ajzb
'
:
'/'
'^/api
Zwxt
'
:
'/'
}
},
"/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'
:
'/'
}
},
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment