Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
38740bfa
Commit
38740bfa
authored
Aug 05, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:进入企微回放
parent
25c8c6e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/common/js/wechatApi.js
+1
-0
src/modules/course-manage/components/LiveCourseList.jsx
+7
-0
No files found.
src/common/js/wechatApi.js
View file @
38740bfa
...
@@ -181,6 +181,7 @@ export default class WechatApi {
...
@@ -181,6 +181,7 @@ export default class WechatApi {
resolve
(
true
)
resolve
(
true
)
}
else
{
}
else
{
let
err
=
"进入回放失败"
let
err
=
"进入回放失败"
console
.
log
(
res
.
err_msg
)
if
(
res
.
err_msg
===
"replayLiving:fail invalid living id"
)
{
if
(
res
.
err_msg
===
"replayLiving:fail invalid living id"
)
{
err
=
"不合法的直播ID"
err
=
"不合法的直播ID"
}
else
if
(
res
.
err_msg
===
"replayLiving:fail not allow to cross corp"
)
{
}
else
if
(
res
.
err_msg
===
"replayLiving:fail not allow to cross corp"
)
{
...
...
src/modules/course-manage/components/LiveCourseList.jsx
View file @
38740bfa
...
@@ -795,6 +795,13 @@ class LiveCourseList extends React.Component {
...
@@ -795,6 +795,13 @@ class LiveCourseList extends React.Component {
}
}
handleViewPlayBack
=
(
item
)
=>
{
handleViewPlayBack
=
(
item
)
=>
{
if
(
item
.
thirdPartType
===
"WECHAT"
)
{
if
(
item
.
thirdPartType
===
"WECHAT"
)
{
if
(
!
isWorkWx
())
{
Modal
.
warning
({
title
:
"提示"
,
content
:
"请使用企业微信进入回放"
})
return
}
WechatApi
.
replayLiving
(
item
.
livingId
)
WechatApi
.
replayLiving
(
item
.
livingId
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
console
.
log
(
"进入企微回放"
)
console
.
log
(
"进入企微回放"
)
...
...
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