作者 lyh

gx

... ... @@ -359,6 +359,9 @@ class ImageController extends Controller
if(isset($this->cache['project_id']) && !empty($this->cache['project_id'])){
$this->map['project_id'] = $this->cache['project_id'];
}
if(isset($this->map['name']) && !empty($this->map['name'])){
$this->map['name'] = ['like','%'.$this->map['name'].'%'];
}
$imageModel = new ImageModel();
$lists = $imageModel->lists($this->map,$this->page,$this->row);
if(!empty($lists) && !empty($lists['list'])){
... ...