正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -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'])){ |
-
请 注册 或 登录 后发表评论