群信息
This commit is contained in:
@@ -4,6 +4,8 @@ namespace app\common\controller;
|
|||||||
use app\exception\MyBusinessException;
|
use app\exception\MyBusinessException;
|
||||||
use extend\chat\model\Base;
|
use extend\chat\model\Base;
|
||||||
use support\exception\BusinessException;
|
use support\exception\BusinessException;
|
||||||
|
use support\Log;
|
||||||
|
|
||||||
class ApiController
|
class ApiController
|
||||||
{
|
{
|
||||||
public $uid;
|
public $uid;
|
||||||
@@ -11,6 +13,7 @@ class ApiController
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
Log::info('请求数据---' . json_encode(request()->post()));
|
||||||
$user_info = Base::getUser(request()->header('token'));
|
$user_info = Base::getUser(request()->header('token'));
|
||||||
$this->uid = $user_info['uid'];
|
$this->uid = $user_info['uid'];
|
||||||
$this->user_type = $user_info['user_type'];
|
$this->user_type = $user_info['user_type'];
|
||||||
|
|||||||
Reference in New Issue
Block a user