This commit is contained in:
2021-12-31 13:27:44 +08:00
parent e7bc96121a
commit 4fe3e9b6c6
4 changed files with 9 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ class IndexController extends AdminController
protected $title = '简历管理';
public function grid()
public function grid(): Grid
{
$grid = new Grid(new Resume());
$grid->model()->orderBy('id', 'desc');