正在显示
1 个修改的文件
包含
6 行增加
和
0 行删除
| @@ -39,6 +39,12 @@ class AllProjectController extends BaseController | @@ -39,6 +39,12 @@ class AllProjectController extends BaseController | ||
| 39 | if(isset($this->map['test_domain']) && !empty($this->map['test_domain'])){ | 39 | if(isset($this->map['test_domain']) && !empty($this->map['test_domain'])){ |
| 40 | $this->map['test_domain'] = ['like','%'.$this->map['test_domain'].'%']; | 40 | $this->map['test_domain'] = ['like','%'.$this->map['test_domain'].'%']; |
| 41 | } | 41 | } |
| 42 | + if(isset($this->map['title']) && !empty($this->map['title'])){ | ||
| 43 | + $this->map['title'] = ['like','%'.$this->map['title'].'%']; | ||
| 44 | + } | ||
| 45 | + if(isset($this->map['company']) && !empty($this->map['company'])){ | ||
| 46 | + $this->map['company'] = ['like','%'.$this->map['company'].'%']; | ||
| 47 | + } | ||
| 42 | $data = $allProject->lists($this->map,$this->page,$this->row); | 48 | $data = $allProject->lists($this->map,$this->page,$this->row); |
| 43 | $this->response('success',Code::SUCCESS,$data); | 49 | $this->response('success',Code::SUCCESS,$data); |
| 44 | } | 50 | } |
-
请 注册 或 登录 后发表评论