Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
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
Yulun Yao
multiSystem
Commits
4d604eb2
Commit
4d604eb2
authored
Oct 22, 2020
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xuhui路由
parent
9b58fbdb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
.gitignore
.gitignore
+2
-0
api.js
src/server/api.js
+16
-7
No files found.
.gitignore
View file @
4d604eb2
...
@@ -114,3 +114,5 @@ dist
...
@@ -114,3 +114,5 @@ dist
node_modules
node_modules
node_modules
node_modules
node_modules
node_modules
*.zip
src/server/api.js
View file @
4d604eb2
let
BASE_URL
=
''
,
MOCK_URL
=
''
let
BASE_URL
=
''
,
MOCK_URL
=
''
,
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
/**
/**
* todo
* todo
* 1、此处配置当前项目在不同环境下的API请求前缀
* 1、此处配置当前项目在不同环境下的API请求前缀
...
@@ -7,7 +8,7 @@ let BASE_URL = '', MOCK_URL=''
...
@@ -7,7 +8,7 @@ let BASE_URL = '', MOCK_URL=''
switch
(
process
.
env
.
NODE_ENV
)
{
switch
(
process
.
env
.
NODE_ENV
)
{
case
'devol'
:
// 本地线上部署环境下
case
'devol'
:
// 本地线上部署环境下
// BASE_URL = 'http://search.omniview.pro/api'
// BASE_URL = 'http://search.omniview.pro/api'
BASE_URL
=
'http://
211.136.105.193/apiv2
'
BASE_URL
=
'http://
xuhui.hm.omniview.pro/api
'
// BASE_URL = 'http://hm.omniview.pro/api'
// BASE_URL = 'http://hm.omniview.pro/api'
break
break
...
@@ -46,7 +47,8 @@ case 'pudong-prod':
...
@@ -46,7 +47,8 @@ case 'pudong-prod':
break
break
case
'xuhui-sit'
:
case
'xuhui-sit'
:
BASE_URL
=
'http://xuhui.hm.omniview.pro/api'
// 徐汇
BASE_URL
=
'http://31.0.161.39/apiv2'
// 徐汇
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
break
break
...
@@ -61,7 +63,7 @@ case 'xuhui-prod':
...
@@ -61,7 +63,7 @@ case 'xuhui-prod':
break
break
default
:
// 默认环境下(开发环境)
default
:
// 默认环境下(开发环境)
BASE_URL
=
'http://
211.136.105.193
/apiv2'
BASE_URL
=
'http://
31.0.161.39
/apiv2'
// BASE_URL = 'http://hm.omniview.pro/api'
// BASE_URL = 'http://hm.omniview.pro/api'
// MOCK_URL = 'https://yapi.omniview.pro/mock/278'
// MOCK_URL = 'https://yapi.omniview.pro/mock/278'
...
@@ -84,9 +86,8 @@ export default {
...
@@ -84,9 +86,8 @@ export default {
GET_USER_INFO
:
'/service-user/login/user/info'
,
// 获取用户信息
GET_USER_INFO
:
'/service-user/login/user/info'
,
// 获取用户信息
PUT_PERSONAL_RESET_PWD
:
'service-user/pwd'
,
// 修改密码
PUT_PERSONAL_RESET_PWD
:
'service-user/pwd'
,
// 修改密码
GET_HOME_DISPOSAL
:
'/service-special-xh-ddd/dashboard/disposal'
,
//处置单统计
GET_HOME_DISPOSAL
:
'/service-special-xh/dashboard/disposal'
,
//处置单统计
GET_HOUSE_MONTH
:
'/service-documents-ddd/dashboard/house/month'
,
//房办月查统计
GET_HOUSE_MONTH
:
'/service-customkey-ddd/dashboard/house/month'
,
//房办月查统计
GET_KEYS
:
'service-customkey-ddd/show/{table}/keys'
,
// 某表下所有可显示的字段
GET_KEYS
:
'service-customkey-ddd/show/{table}/keys'
,
// 某表下所有可显示的字段
POST_KEYS
:
'service-customkey-ddd/show/keys'
,
// 保存已选字段
POST_KEYS
:
'service-customkey-ddd/show/keys'
,
// 保存已选字段
...
@@ -162,4 +163,12 @@ export default {
...
@@ -162,4 +163,12 @@ export default {
* XXX审查
* XXX审查
*/
*/
SHENGCHA_POST
:
''
,
// 提交需要XX审查的数据信息
SHENGCHA_POST
:
''
,
// 提交需要XX审查的数据信息
GET_REPAIR_STATISTICS
:
'/service-documents-ddd/reportBX/statistics'
,
//应急报修统计
GET_CHWECK_DATA
:
FANGDI_URL
+
'/propertyinspector/api/v1/sharingplatform/themeListForOneDay'
,
//专项检查数据
GET_JIANCHADIZHI
:
'/service-special-xh/generateUrl'
,
//获取专项检查页面地址
GET_WYGENERATE
:
'/service-special-xh/wywebgenerateUrl'
,
//获取物业风险发现/处置地址
GET_TOUSUQUESTION_INFO
:
'/service-documents-ddd/tsDetial'
,
//投诉问题列表
GET_TOUSUDENSITY_LIST
:
'/service-documents-ddd/tsDensityRank'
,
//投诉密度排行
GET_TOUSUQUESTION_DETAILS
:
'/service-documents-ddd/tsDetial/{id}'
,
//投诉问题详情
GET_TOUSUQUESTION_LIST
:
'/service-documents-ddd/tsRank'
,
//投诉问题排行
}
}
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