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
04ca74c0
Commit
04ca74c0
authored
Jan 08, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api删除无用行
parent
717c658f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
api.js
src/server/api.js
+8
-11
No files found.
src/server/api.js
View file @
04ca74c0
...
...
@@ -7,58 +7,55 @@ let BASE_URL = '', MOCK_URL='',
*/
switch
(
process
.
env
.
NODE_ENV
)
{
case
'devol'
:
// 本地线上部署环境下
// BASE_URL = 'http://search.omniview.pro/api'
BASE_URL
=
'http://xuhui.hm.omniview.pro/api/v2'
// BASE_URL = 'http://hm.omniview.pro/api'
break
case
'pudong-sit'
:
BASE_URL
=
'http://pudong.hm.omniview.pro/api/v2'
,
// BASE_URL = 'http://211.136.105.193/apiv2' //浦东
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
case
'pudong-prod'
:
BASE_URL
=
'http://211.136.105.193/api/v2'
//浦东
BASE_URL
=
'http://211.136.105.193/api/v2'
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
case
'xuhui-sit'
:
BASE_URL
=
'http://xuhui.hm.omniview.pro/api/v2'
// 徐汇
BASE_URL
=
'http://xuhui.hm.omniview.pro/api/v2'
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
case
'xuhui-prod'
:
BASE_URL
=
'http://31.0.161.39/apiv2'
,
// 徐汇
BASE_URL
=
'http://31.0.161.39/apiv2'
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
case
'yangpu-sit'
:
BASE_URL
=
'http://yangpu-hm.omniview.pro/api/v2'
// 徐汇
BASE_URL
=
'http://yangpu-hm.omniview.pro/api/v2'
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
case
'yangpu-prod'
:
BASE_URL
=
'http://10.216.118.142/api'
,
// 徐汇
BASE_URL
=
'http://10.216.118.142/api'
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
case
'huangpu-sit'
:
BASE_URL
=
'http://huangpu.hm.omniview.pro/api/v2'
,
// 徐汇
BASE_URL
=
'http://huangpu.hm.omniview.pro/api/v2'
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
case
'huangpu-prod'
:
// BASE_URL = 'http://31.0.161.39/apiv2', // 徐汇
//
FANGDI_URL = 'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
BASE_URL
=
'http://172.82.26.1/api'
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
...
...
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