Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
8f69b203
Commit
8f69b203
authored
May 31, 2018
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取正在直播课程接口
parent
cb30eb71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
xue_live_show.php
example/xue_live_show.php
+14
-0
Live.php
src/xue/Live.php
+17
-0
No files found.
example/xue_live_show.php
0 → 100644
View file @
8f69b203
<?php
/**
* Created by PhpStorm.
* User: QQ
* Date: 2018/5/31
* Time: 15:43
*/
use
internalApi\xue\Live
;
require
__DIR__
.
'/_init.php'
;
Live
::
setDebug
(
true
);
print_r
(
Live
::
getShow
());
\ No newline at end of file
src/xue/Live.php
0 → 100644
View file @
8f69b203
<?php
/**
* Created by PhpStorm.
* User: QQ
* Date: 2018/5/31
* Time: 15:31
*/
namespace
internalApi\xue
;
use
internalApi\base\Client
;
class
Live
extends
Client
{
public
static
function
getShow
(
$num
=
1
)
{
return
self
::
call
(
'live.getLiveShow'
,
compact
(
'num'
));
}
}
\ No newline at end of file
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