客户端消息通知

This commit is contained in:
mzl
2025-08-21 19:26:28 +08:00
parent c1de258ce2
commit 5dc515f712
5 changed files with 184 additions and 11 deletions
@@ -90,4 +90,9 @@ class MessageNotifications extends Model
return $this->hasMany(MessageUserStatus::class, 'msg_id', 'id')
->where('status', 0);
}
public function sender()
{
return $this->belongsTo(User::class, 'sender_id', 'id');
}
}