作者 lyh

gx

@@ -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'])){