From 4a87c4839f9bcea1f46d3a1a521e6d92a12a6f4b Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Tue, 2 Dec 2025 19:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/chat/model/Base.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extend/chat/model/Base.php b/extend/chat/model/Base.php index d853ac6..efed84d 100644 --- a/extend/chat/model/Base.php +++ b/extend/chat/model/Base.php @@ -8,6 +8,7 @@ namespace extend\chat\model; use GatewayWorker\Lib\Gateway; use extend\chat\model\OnbocChat; use extend\chat\model\ShoppingChat; + use support\Log; use support\Redis; use support\think\Db; @@ -56,11 +57,13 @@ namespace extend\chat\model; public static function getUser($token) { $uid = Redis::get('token:client:token:' . $token); + Log::info('client$uid' . $uid); if($uid) { // 用户 $user_type = 1; }else{ $uid = Redis::get('token:admin:token:' . $token); + Log::info('admin$uid' . $uid); if(!$uid) { throw new MyBusinessException('请登录', 3000); }