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
da37f384
Commit
da37f384
authored
Dec 25, 2021
by
xue_wengang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代理修改
parent
20e76191
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
7 deletions
+38
-7
src/api/base.js
+15
-0
vue.config.js
+23
-7
No files found.
src/api/base.js
View file @
da37f384
...
@@ -29,8 +29,23 @@ if (
...
@@ -29,8 +29,23 @@ if (
base
.
alyIP4
=
'http://39.99.155.173:8007'
// 脑图链接
base
.
alyIP4
=
'http://39.99.155.173:8007'
// 脑图链接
base
.
alyIP5
=
'http://39.99.155.173:8003'
// 画像工厂 案件
base
.
alyIP5
=
'http://39.99.155.173:8003'
// 画像工厂 案件
base
.
alyIP6
=
'http://39.99.155.173:9002'
// 画像工厂 案件
base
.
alyIP6
=
'http://39.99.155.173:9002'
// 画像工厂 案件
base
.
alyIP8
=
'http://39.99.155.173:9003'
//
base
.
alyIP8
=
'http://39.99.155.173:9003'
//
base
.
alyIP9
=
'http://47.92.225.109:8347'
//
base
.
alyIP9
=
'http://47.92.225.109:8347'
//
// base.alyIP = "/apiXzxtGaw";
// base.alyIP2 = "/apiAjzbGaw";
// base.alyIP3 = "/apiXzxtGaw";
// base.alyIP4 = 'http://74.6.54.153:8005' // 脑图链接
// base.alyIP5 = 'http://74.6.54.153:8003' // 画像工厂 案件
// base.alyIP6 = 'http://10.184.14.193:9002' // 画像工厂 案件
// base.alyIP7 = 'http://74.6.54.153:8006'
// base.alyIP8 = 'http://10.184.14.193:9003'
// base.alyIP9 = 'http://10.184.14.193:9005'
// base.alyIP10 = 'http://10.184.14.193:9001'
// base.alyIP11 = 'http://74.6.54.153:8004'
}
}
export
default
base
;
export
default
base
;
vue.config.js
View file @
da37f384
...
@@ -58,20 +58,20 @@ module.exports = {
...
@@ -58,20 +58,20 @@ module.exports = {
},
},
proxy
:
{
proxy
:
{
"/apialy"
:
{
"/apialy"
:
{
target
:
"http://39.99.155.173:9022
/
"
,
//西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
target
:
"http://39.99.155.173:9022"
,
//西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022
// ws: true,
// ws: true,
changeOrigin
:
true
,
changeOrigin
:
true
,
//
secure: false,
secure
:
false
,
pathRewrite
:
{
pathRewrite
:
{
'^/apialy'
:
'/'
'^/apialy'
:
'/'
}
}
},
},
"/
dz9024
"
:
{
"/
apiAjzbXzGaw
"
:
{
target
:
"http
://39.99.155.173:9024/"
,
target
:
"http
s://155.1.33.10:20002/"
,
// 基础查询、案件侦办
changeOrigin
:
true
,
changeOrigin
:
true
,
//
secure: false,
secure
:
false
,
pathRewrite
:
{
pathRewrite
:
{
'^/dz9024'
:
'/'
"^/apiAjzbXzGaw"
:
"/"
}
}
},
},
"/apiAjzbXzGaw"
:
{
"/apiAjzbXzGaw"
:
{
...
@@ -83,13 +83,29 @@ module.exports = {
...
@@ -83,13 +83,29 @@ module.exports = {
}
}
},
},
"/apiAjzb"
:
{
"/apiAjzb"
:
{
target
:
"http://39.99.2
44.27:8001
/"
,
//统一的请求头部每次修改都要重启才会生效西藏:()
target
:
"http://39.99.2
24.27:8002
/"
,
//统一的请求头部每次修改都要重启才会生效西藏:()
ws
:
true
,
ws
:
true
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
"^/apiAjzb"
:
"/"
"^/apiAjzb"
:
"/"
}
}
},
},
"/apiAjzbGaw"
:
{
target
:
"http://74.6.54.153:8001/"
,
//公安网案件侦办后台地址
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiAjzbGaw'
:
'/'
}
},
"/apiXzxtGaw"
:
{
target
:
"http://74.6.54.153:9022/"
,
//公安网案件侦办后台地址
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/apiXzxtGaw'
:
'/'
}
},
},
},
},
},
css
:
{
css
:
{
...
...
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