改进
This commit is contained in:
parent
e67e402679
commit
ab2f41635a
@ -77,8 +77,6 @@ protected static function boot()
|
||||
});
|
||||
}
|
||||
|
||||
// on create
|
||||
|
||||
public function scopeThisUser($query)
|
||||
{
|
||||
return $query->where('user_id', auth()->id());
|
||||
|
Loading…
Reference in New Issue
Block a user