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
664fd287
Commit
664fd287
authored
Jan 08, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
10463a21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
getMicRouters.js
src/router/getMicRouters.js
+3
-2
api.js
src/server/api.js
+2
-2
No files found.
src/router/getMicRouters.js
View file @
664fd287
...
@@ -2,6 +2,7 @@ import TipsOutsite from '@/views/tips/outside'
...
@@ -2,6 +2,7 @@ import TipsOutsite from '@/views/tips/outside'
import
pudong
from
'@/router/pudongRoutes.json'
import
pudong
from
'@/router/pudongRoutes.json'
import
xuhui
from
'@/router/xuhuiRoutes.json'
import
xuhui
from
'@/router/xuhuiRoutes.json'
import
huangpu
from
'@/router/huangpuRoutes.json'
import
huangpu
from
'@/router/huangpuRoutes.json'
import
yangpu
from
'@/router/yangpuRoutes.json'
async
function
GetRoutes
(
router
)
{
async
function
GetRoutes
(
router
)
{
let
env
=
process
.
env
.
NODE_ENV
let
env
=
process
.
env
.
NODE_ENV
...
@@ -35,11 +36,11 @@ async function GetRoutes(router) {
...
@@ -35,11 +36,11 @@ async function GetRoutes(router) {
break
break
case
'yangpu-sit'
:
case
'yangpu-sit'
:
MicRouters
=
hu
angpu
MicRouters
=
y
angpu
break
break
case
'yangpu-prod'
:
case
'yangpu-prod'
:
MicRouters
=
hu
angpu
MicRouters
=
y
angpu
break
break
default
:
// 当前仅可使用pudong / xuhui-sit/uat进行打包
default
:
// 当前仅可使用pudong / xuhui-sit/uat进行打包
...
...
src/server/api.js
View file @
664fd287
...
@@ -62,8 +62,8 @@ case 'huangpu-prod':
...
@@ -62,8 +62,8 @@ 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://yangpu.hm.omniview.pro/api
'
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