新增列表查询

This commit is contained in:
JaguarJack 2020-04-28 22:02:23 +08:00
parent 0b546a20be
commit 50bcb7e289

View File

@ -4,6 +4,19 @@ namespace catcher\traits\db;
trait BaseOptionsTrait
{
/**
* 查询列表
*
* @time 2020年04月28日
* @return mixed
*/
public function getList()
{
return $this->catchSearch()
->order($this->getPk(), 'desc')
->paginate();
}
/**
*
* @time 2019年12月03日