群信息
This commit is contained in:
@@ -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 = [])
|
||||
|
||||
Reference in New Issue
Block a user