|
@@ -113,6 +113,7 @@ class Books extends Api
|
|
//关键字
|
|
//关键字
|
|
if ( isset($data['keywords']) && $data['keywords'] != '' && $data['keywords'] != null){
|
|
if ( isset($data['keywords']) && $data['keywords'] != '' && $data['keywords'] != null){
|
|
$where['title'] = ['like','%'.$data['keywords'].'%'];
|
|
$where['title'] = ['like','%'.$data['keywords'].'%'];
|
|
|
|
+ $where['author'] = ['like','%'.$data['keywords'].'%'];
|
|
}
|
|
}
|
|
|
|
|
|
$where['is_deleted'] = 1;
|
|
$where['is_deleted'] = 1;
|