42 lines
1.3 KiB
PHP
42 lines
1.3 KiB
PHP
![]() |
<?php
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | likeadmin快速开发前后端分离管理后台(PHP版)
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
|
|||
|
// | 开源版本可自由商用,可去除界面版权logo
|
|||
|
// | gitee下载:https://gitee.com/likeshop_gitee/likeadmin
|
|||
|
// | github下载:https://github.com/likeshop-github/likeadmin
|
|||
|
// | 访问官网:https://www.likeadmin.cn
|
|||
|
// | likeadmin团队 版权所有 拥有最终解释权
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | author: likeadminTeam
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
|
|||
|
namespace app\api\controller;
|
|||
|
|
|||
|
use think\facade\Db;
|
|||
|
use WebSocket\Client;
|
|||
|
use GuzzleHttp\Client as GzClient;
|
|||
|
use GuzzleHttp\Psr7\Request;
|
|||
|
use GuzzleHttp\Exception\GuzzleException;
|
|||
|
use Guzzle\Http\Exception\RequestException;
|
|||
|
|
|||
|
/**
|
|||
|
* 七牛直播
|
|||
|
* Class ZhiboController
|
|||
|
*/
|
|||
|
class ZhiboController extends BaseApiController
|
|||
|
{
|
|||
|
public array $notNeedLogin = ['chat'];
|
|||
|
|
|||
|
private $app_id='2eda6c2e';
|
|||
|
private $api_key='12ec1f9d113932575fc4b114a2f60ffd';
|
|||
|
private $api_secret='MDEyMzE5YTc5YmQ5NjMwOTU1MWY4N2Y2';
|
|||
|
|
|||
|
public function chat()
|
|||
|
{
|
|||
|
return $this->data([]);
|
|||
|
}
|
|||
|
|
|||
|
}
|