Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
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
冷斌
eduline
Commits
a68aa4a5
Commit
a68aa4a5
authored
May 18, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
82230d6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
apps/course/Lib/Action/VideoAction.class.php
+11
-11
No files found.
apps/course/Lib/Action/VideoAction.class.php
View file @
a68aa4a5
...
...
@@ -1230,17 +1230,17 @@ class VideoAction extends CommonAction
$this
->
assign
(
'video_count'
,
$video_count
);
$this
->
assign
(
'switch'
,
model
(
'Xdata'
)
->
get
(
'admin_Config:commentSwitch'
)[
'course_switch'
]);
$this
->
assign
(
"course_qrcode"
,
$this
->
course_qrcode
[
'is_open'
]);
//如果是ajax并且为h5访问 直接输出后边的数据
if
(
$this
->
isAjax
()
&&
$this
->
is_wap
)
{
$hd
=
array
(
'video_address'
=>
$video_address
,
'videoid'
=>
$videoid
,
'video_type'
=>
$video_type
,
'learn_record'
=>
$learn_record
,
'learn_record_time'
=>
$learn_record_time
)
echo
json_encode
(
$hd
);
exit
();
}
//
//
如果是ajax并且为h5访问 直接输出后边的数据
//
if ($this->isAjax() && $this->is_wap) {
//
$hd = array(
//
'video_address' => $video_address,
//
'videoid' => $videoid,
//
'video_type' => $video_type,
//
'learn_record' => $learn_record,
//
'learn_record_time' => $learn_record_time)
//
echo json_encode($hd);
//
exit();
//
}
// 分销的机构
$mount_mhm_id
=
isset
(
$_GET
[
'mount_mhm_id'
])
?
jiemi
(
$_GET
[
'mount_mhm_id'
])
:
0
;
// 代理机构
...
...
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