群信息

This commit is contained in:
2025-12-03 09:50:05 +08:00
parent 5f740bcc76
commit 3e4e22797a

View File

@@ -4,6 +4,8 @@ namespace app\common\controller;
use app\exception\MyBusinessException;
use extend\chat\model\Base;
use support\exception\BusinessException;
use support\Log;
class ApiController
{
public $uid;
@@ -11,6 +13,7 @@ class ApiController
public function __construct()
{
Log::info('请求数据---' . json_encode(request()->post()));
$user_info = Base::getUser(request()->header('token'));
$this->uid = $user_info['uid'];
$this->user_type = $user_info['user_type'];