|
...
|
...
|
@@ -58,6 +58,10 @@ class CategoryController extends BaseController |
|
|
|
if(!empty($this->map['title'])){
|
|
|
|
$this->map['title'] = ['like','%'.$this->map['title'].'%'];
|
|
|
|
}
|
|
|
|
if(!empty($this->map['search'])){
|
|
|
|
$this->map['title'] = ['like','%'.$this->map['search'].'%'];
|
|
|
|
}
|
|
|
|
unset($this->map['search']);
|
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
return $this->map;
|
|
|
|
}
|
...
|
...
|
|