新增order

This commit is contained in:
JaguarJack
2020-04-30 17:58:36 +08:00
parent dd0ad744e6
commit e1abef2319
2 changed files with 35 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ trait BaseOptionsTrait
public function getList()
{
return $this->catchSearch()
->order($this->getPk(), 'desc')
->order()
->paginate();
}