作者 lyh

gx

@@ -482,6 +482,9 @@ class ImageController extends Controller @@ -482,6 +482,9 @@ class ImageController extends Controller
482 if(isset($this->map['name']) && !empty($this->map['name'])){ 482 if(isset($this->map['name']) && !empty($this->map['name'])){
483 $this->map['name'] = ['like','%'.$this->map['name'].'%']; 483 $this->map['name'] = ['like','%'.$this->map['name'].'%'];
484 } 484 }
  485 + if(empty($this->map['refer'])){
  486 + unset($this->map['refer']);
  487 + }
485 $imageModel = new ImageModel(); 488 $imageModel = new ImageModel();
486 $lists = $imageModel->lists($this->map,$this->page,$this->row); 489 $lists = $imageModel->lists($this->map,$this->page,$this->row);
487 if(!empty($lists) && !empty($lists['list'])){ 490 if(!empty($lists) && !empty($lists['list'])){