This commit is contained in:
2024-07-17 14:36:47 +08:00
parent b181606733
commit 22c8cb3077

View File

@@ -54,6 +54,7 @@ class TychatLogic extends BaseLogic
$user = Db::table('fa_ty_users') $user = Db::table('fa_ty_users')
->where('clientid',$client_id) ->where('clientid',$client_id)
->find(); ->find();
Tools::log_to_write_txt(['保存历史记录,$user'=>$user]);
if(empty($user)){ if(empty($user)){
$json = Tools::wss_json($action, '用户不存在'); $json = Tools::wss_json($action, '用户不存在');
return Gateway::sendToClient($client_id, $json); return Gateway::sendToClient($client_id, $json);