Commit 8f69b203 authored by wangjj's avatar wangjj

获取正在直播课程接口

parent cb30eb71
<?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
<?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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment