mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
API bookmark
This commit is contained in:
@@ -9,6 +9,10 @@ class Bookmark extends NexusModel
|
||||
|
||||
protected $fillable = ['userid', 'torrentid'];
|
||||
|
||||
const FILTER_IGNORE = '0';
|
||||
const FILTER_INCLUDE = '1';
|
||||
const FILTER_EXCLUDE = '2';
|
||||
|
||||
public function torrent()
|
||||
{
|
||||
return $this->belongsTo(Torrent::class, 'torrentid');
|
||||
|
||||
Reference in New Issue
Block a user