改进 排序顺序
This commit is contained in:
parent
ef04cbd09d
commit
7626d2194e
@ -39,7 +39,7 @@ public function scopeUser($query)
|
||||
public function getCurrentUserTasks()
|
||||
{
|
||||
return Cache::remember('user_tasks_' . auth()->id(), 3600, function () {
|
||||
return $this->user()->with('host')->get();
|
||||
return $this->user()->with('host')->latest()->get();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user