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