新增列表查询
This commit is contained in:
parent
0b546a20be
commit
50bcb7e289
@ -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日
|
||||
|
Loading…
x
Reference in New Issue
Block a user