群信息

This commit is contained in:
2025-12-03 09:21:34 +08:00
parent 26d0768ba8
commit e54e14056e
3 changed files with 10 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
namespace app\common\controller;
use app\exception\MyBusinessException;
use extend\chat\model\Base;
use support\exception\BusinessException;
class ApiController
{
@@ -10,8 +11,9 @@ class ApiController
public function __construct()
{
$this->uid = input('uid');
$this->user_type = input('user_type');
$user_info = Base::getUser(request()->header('token'));
$this->uid = $user_info['uid'];
$this->user_type = $user_info['user_type'];
}
public function success($data = [])