客户端消息通知
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user