__construct() __construct( $appId = null, $appSecret = null) 构造函数 WxBase constructor. Parameters $appId $appSecret
getLiveRoomList() getLiveRoomList() 微信小程序直播-获取直播房间列表接口 api文档: https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/live-player-plugin.html Throws \app\common\exception\BaseException
getAccessToken() getAccessToken() : mixed 获取access_token Throws \app\common\exception\BaseException Returns mixed
get() get(string $url) : string 模拟GET请求 HTTPS的页面 Parameters string $url 请求地址 Returns string — $result
post() post( $url, array $data = array(), boolean $useCert = false, array $sslCert = array()) : mixed 模拟POST请求 Parameters $url array $data boolean $useCert array $sslCert Returns mixed