Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-live
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
cloud-live
Commits
bde20438
Commit
bde20438
authored
Feb 26, 2021
by
胡涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换保利威视基本配置
parent
51e744ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cloud-live-service/src/main/java/com/yizhi/live/application/service/impl/LiveActivityServiceImpl.java
+2
-2
No files found.
cloud-live-service/src/main/java/com/yizhi/live/application/service/impl/LiveActivityServiceImpl.java
View file @
bde20438
...
...
@@ -722,14 +722,14 @@ public class LiveActivityServiceImpl extends ServiceImpl<LiveActivityMapper, Liv
params
.
put
(
"channelIds"
,
channelIds
);
String
sign
=
LiveUtil
.
generateSign
(
params
,
UtilConstants
.
APP_SECRET
);
params
.
put
(
"sign"
,
sign
);
LOG
.
info
(
"获取频道直播状态channelIds ={}"
,
channelIds
,
"保利威视查询状态参数:"
+
params
.
toString
());
LOG
.
info
(
"获取频道直播状态channelIds ={}"
+
channelIds
+
"保利威视查询状态参数:"
+
params
.
toString
());
String
result
=
LiveUtil
.
sendHttpPost
(
UtilConstants
.
LIVE_STATUS_URL
,
params
);
if
(
StringUtils
.
isEmpty
(
result
))
{
LOG
.
warn
(
"获取频道直播状态异常;channelIds ={}"
,
channelIds
);
return
statusMap
;
}
JSONObject
obj
=
JSON
.
parseObject
(
result
);
LOG
.
info
(
"获取频道直播状态channelIds ={}"
,
channelIds
,
"保利威视查询状态:"
+
result
);
LOG
.
info
(
"获取频道直播状态channelIds ={}"
+
channelIds
+
"保利威视查询状态:"
+
result
);
if
(
"error"
.
equals
(
obj
.
get
(
"status"
).
toString
()))
{
return
statusMap
;
}
...
...
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