Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
548c0b83
Commit
548c0b83
authored
May 08, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocelot 网关
parent
e267249f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
18 deletions
+2
-18
config.js
static/config.js
+2
-18
No files found.
static/config.js
View file @
548c0b83
...
@@ -4,13 +4,11 @@ const systemApi = {
...
@@ -4,13 +4,11 @@ const systemApi = {
dev
:
"49.232.68.61"
,
dev
:
"49.232.68.61"
,
aps
:
'47.92.102.113'
aps
:
'47.92.102.113'
}
}
//环境切换(只修改此处):
//环境切换(只修改此处):
let
address
=
systemApi
.
dev
;
let
address
=
systemApi
.
dev
;
//let address=systemApi.product;
//let address=systemApi.product;
//let address=systemApi.local;
//let address=systemApi.local;
//占位符自动替换:
/*
window
.
systemUrl
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
systemUrl
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
...
@@ -22,18 +20,4 @@ window.resourceUrl = `http://${address}:10000/resource`; // 制造资源地址
...
@@ -22,18 +20,4 @@ window.resourceUrl = `http://${address}:10000/resource`; // 制造资源地址
window
.
workflowUrl
=
`http://
${
address
}
:10000/workflow`
;
// 工作流地址
window
.
workflowUrl
=
`http://
${
address
}
:10000/workflow`
;
// 工作流地址
window
.
certificateUrl
=
`http://
${
address
}
:10000/qms`
;
//质量
window
.
certificateUrl
=
`http://
${
address
}
:10000/qms`
;
//质量
window
.
crmUrl
=
`http://
${
address
}
:10000/crm`
;
//crm客户、合同、项目管理
window
.
crmUrl
=
`http://
${
address
}
:10000/crm`
;
//crm客户、合同、项目管理
window.apsUrl = `http://${systemApi.aps}:10000/aps`;//aps排产
window
.
apsUrl
=
`http://
${
systemApi
.
aps
}
:10000/aps`
;
//aps排产
*/
\ No newline at end of file
window
.
systemUrl
=
`http://
${
address
}
:10020/api/services/app`
;
//System-api 系统管理(基础数据)
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
designUrl
=
`http://
${
address
}
:10030/api/services/app`
;
//Process-api 工艺规程
window
.
PlanUrl
=
`http://
${
address
}
:10050/api/services/app`
;
//Process-api
window
.
routeUrl
=
`http://
${
address
}
:10050/api/services/app`
;
//Process-api
window
.
bugUrl
=
`http://
${
address
}
:10070/api/services/app`
;
//Process-api
window
.
fileUrl
=
`http://
${
address
}
:10080/fileServer`
;
//文件上传url
window
.
fileUrlDown
=
`http://
${
address
}
`
;
//文件下载url
window
.
resourceUrl
=
`http://
${
address
}
:10040/api/services/app`
;
// 制造资源地址
window
.
workflowUrl
=
`http://
${
address
}
:10060/api/services/app`
;
// 工作流地址
window
.
certificateUrl
=
`http://
${
address
}
:10090/api/services/app`
;
//Process-api
window
.
crmUrl
=
`http://
${
address
}
:10100/api/services/app`
;
//crm客户、合同、项目管理
window
.
apsUrl
=
`http://
${
systemApi
.
aps
}
:10110/api/services/app`
;
//aps排产
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