mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
oauth response array
This commit is contained in:
@@ -7,4 +7,8 @@ class Forum extends NexusModel
|
||||
{
|
||||
protected $fillable = ['sort', 'name', 'description', 'minclassread', 'minclasswrite', 'postcount', 'topiccount', 'minclasscreate', 'forid'];
|
||||
|
||||
public function moderators()
|
||||
{
|
||||
return $this->belongsToMany(User::class, "forummods", "forumid", "userid");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user