|
...
|
...
|
@@ -50,7 +50,7 @@ class NewsController extends BaseController |
|
|
|
public function searchParam(){
|
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
if(isset($this->map['category_id']) && !empty($this->map['category_id'])){
|
|
|
|
$this->map['category_id'] = ['like','%'.$this->map['category_id'].'%'];
|
|
|
|
$this->map['category_id'] = ['like','%,'.$this->map['category_id'].',%'];
|
|
|
|
}
|
|
|
|
return $this->map;
|
|
|
|
}
|
...
|
...
|
|