Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu
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
郭铭瑶
yangpu
Commits
d30cb1ef
Commit
d30cb1ef
authored
Dec 23, 2020
by
陶仁倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改视频请求地址
parent
4a0a89bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
api.js
src/server/api.js
+3
-1
No files found.
src/server/api.js
View file @
d30cb1ef
...
...
@@ -3,7 +3,9 @@ let DATA_URL = ''
switch
(
process
.
env
.
NODE_ENV
)
{
case
'production'
:
// BASE_URL = 'http://10.89.4.164:18080/api'
// VIDEO_URL = 'http://10.89.4.179:27343/api/v1/camera'
BASE_URL
=
'http://yangpu.hm.omniview.pro/api'
VIDEO_URL
=
'http://10.89.1.208:7000/hawkeye'
DATA_URL
=
'http://10.89.1.208:10005'
break
default
:
...
...
@@ -40,6 +42,6 @@ export default {
GET_GARBAGE_COUNT
:
'/dc/countPointsByStreet'
,
// 街道垃圾收集点数目
GET_TOILET_COUNT
:
'/dc/countToiletsByStreet'
,
// 街道环卫公厕数目
GET_STREET_BASIC
:
'/dc/getStreetGridPowerByStreetGridId'
,
// 街道基数
GET_VIDEO_URL
:
'http://10.89.1.208:7000/hawkeye
/api/v1/camera/'
,
// 后面接id获取视频地址
GET_VIDEO_URL
:
VIDEO_URL
+
'
/api/v1/camera/'
,
// 后面接id获取视频地址
GET_HEALTH_INFO
:
'/service-documents-ddd/public/property/health/degree'
,
// 物业健康度
}
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