正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -359,6 +359,9 @@ class ImageController extends Controller | @@ -359,6 +359,9 @@ class ImageController extends Controller | ||
| 359 | if(isset($this->cache['project_id']) && !empty($this->cache['project_id'])){ | 359 | if(isset($this->cache['project_id']) && !empty($this->cache['project_id'])){ |
| 360 | $this->map['project_id'] = $this->cache['project_id']; | 360 | $this->map['project_id'] = $this->cache['project_id']; |
| 361 | } | 361 | } |
| 362 | + if(isset($this->map['name']) && !empty($this->map['name'])){ | ||
| 363 | + $this->map['name'] = ['like','%'.$this->map['name'].'%']; | ||
| 364 | + } | ||
| 362 | $imageModel = new ImageModel(); | 365 | $imageModel = new ImageModel(); |
| 363 | $lists = $imageModel->lists($this->map,$this->page,$this->row); | 366 | $lists = $imageModel->lists($this->map,$this->page,$this->row); |
| 364 | if(!empty($lists) && !empty($lists['list'])){ | 367 | if(!empty($lists) && !empty($lists['list'])){ |
-
请 注册 或 登录 后发表评论