|
|
|
@ -44,7 +44,7 @@ class ArticleController extends BaseController |
|
|
|
$q->where('FIND_IN_SET(:account, account)', ['account' => $param['account']]); |
|
|
|
} |
|
|
|
if(!empty($param['title'])){ |
|
|
|
$q->whereLike('account', '%' . $param['title'] . '%'); |
|
|
|
$q->whereLike('title', '%' . $param['title'] . '%'); |
|
|
|
} |
|
|
|
})->order('id','desc')->paginate([ |
|
|
|
'list_rows'=> $param["limit"], |
|
|
|
|