|
...
|
...
|
@@ -30,9 +30,14 @@ class CustomController extends BaseController |
|
|
|
// 每页数量
|
|
|
|
$limit = intval($this->param['limit']??20);
|
|
|
|
|
|
|
|
$name = request()->get('name');
|
|
|
|
$map = [];
|
|
|
|
if($name){
|
|
|
|
$map[] = ['name','like',htmlspecialchars($name)];
|
|
|
|
}
|
|
|
|
|
|
|
|
$lists = CustomLogic::instance()->getList(
|
|
|
|
[],
|
|
|
|
$map,
|
|
|
|
[],
|
|
|
|
['id','name','title','status','url','keywords','description','created_at','updated_at'],
|
|
|
|
$limit
|
...
|
...
|
|