新增子查询方法 addSelectSub
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace catcher\traits\db;
|
||||
|
||||
use catchAdmin\permissions\model\Users;
|
||||
|
||||
trait BaseOptionsTrait
|
||||
{
|
||||
/**
|
||||
@@ -13,7 +15,9 @@ trait BaseOptionsTrait
|
||||
public function getList()
|
||||
{
|
||||
return $this->catchSearch()
|
||||
->field('*')
|
||||
->catchOrder()
|
||||
->creator()
|
||||
->paginate();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user