session_id

This commit is contained in:
2025-12-04 19:16:31 +08:00
parent a08e4ec26f
commit 1fd8c4075c

View File

@@ -275,7 +275,7 @@ namespace extend\chat\model;
// 群成员是否在线,在线发 不在线存起来等上线了发 免打扰也不发消息
if($grep['is_dist'] == 0) {
if(Gateway::isUidOnline($str_uid)) {
$notice_data['nick'] = $user['nick_name'] . $notice_data['content'];
$notice_data['nick'] = $user['nick_name'];
Gateway::sendToUid($str_uid, self::sendReceive($notice_data));
}else {
// 存消息