Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
Project
Project
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
wbx-PCAndMobi
pc
Commits
e479a159
Commit
e479a159
authored
Jan 15, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新浦东子项目路由
parent
14a69b62
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
getMicRouters.js
src/router/getMicRouters.js
+1
-1
pudongRoutes.json
src/router/pudongRoutes.json
+6
-2
api.js
src/server/api.js
+2
-2
No files found.
src/router/getMicRouters.js
View file @
e479a159
...
@@ -44,7 +44,7 @@ async function GetRoutes(router) {
...
@@ -44,7 +44,7 @@ async function GetRoutes(router) {
break
break
default
:
// 当前仅可使用pudong / xuhui-sit/uat进行打包
default
:
// 当前仅可使用pudong / xuhui-sit/uat进行打包
MicRouters
=
xuhui
MicRouters
=
pudong
break
break
}
}
...
...
src/router/pudongRoutes.json
View file @
e479a159
...
@@ -38,11 +38,15 @@
...
@@ -38,11 +38,15 @@
},
},
{
{
"path"
:
"/pudong/complaintPath"
,
"name"
:
"complaintPath"
,
"path"
:
"/pudong/complaintPath"
,
"name"
:
"complaintPath"
,
"meta"
:
{
"title"
:
"投诉
直通车
"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
true
},
"meta"
:
{
"title"
:
"投诉
信息
"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
true
},
"children"
:
[
"children"
:
[
{
{
"path"
:
"/pudong/complaintPath/complaintList"
,
"name"
:
"complaintList"
,
"path"
:
"/pudong/complaintPath/complaintList"
,
"name"
:
"complaintList"
,
"meta"
:
{
"title"
:
"投诉列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
"meta"
:
{
"title"
:
"投诉直通车列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
},
{
"path"
:
"/complaintPath/complaint12345TEL"
,
"name"
:
"complaint12345TEL"
,
"meta"
:
{
"title"
:
"12345热线列表"
,
"menuPath"
:
true
,
"menuIcon"
:
"profile"
,
"hideInBread"
:
false
}
}
}
]
]
},
},
...
...
src/server/api.js
View file @
e479a159
...
@@ -61,9 +61,9 @@ case 'huangpu-prod':
...
@@ -61,9 +61,9 @@ case 'huangpu-prod':
default
:
// 默认环境下(开发环境)
default
:
// 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://31.0.161.39/apiv2'
//
BASE_URL = 'http://211.136.105.193/apiv2'
BASE_URL
=
'http://211.136.105.193/apiv2'
// BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2'
// BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2'
BASE_URL
=
'http://pudong.hm.omniview.pro/api/v2'
//
BASE_URL = 'http://pudong.hm.omniview.pro/api/v2'
// BASE_URL = 'http://yangpu-hm.omniview.pro/api/v2'
// BASE_URL = 'http://yangpu-hm.omniview.pro/api/v2'
// MOCK_URL = 'https://yapi.omniview.pro/mock/278'
// MOCK_URL = 'https://yapi.omniview.pro/mock/278'
...
...
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