Commit 753ec250 authored by zhuwei's avatar zhuwei

获取图片列表bug

parent bad38ae5
...@@ -87,7 +87,7 @@ class ImageDepot extends Basic ...@@ -87,7 +87,7 @@ class ImageDepot extends Basic
if (!empty($params['label'])) { if (!empty($params['label'])) {
$params_['label'] = [ 'LIKE', '%' . $params['label'] . '%' ]; $params_['label'] = [ 'LIKE', '%' . $params['label'] . '%' ];
} }
if (!empty($this->params['img_type'])) { if ($this->params['img_type'] != '') {
$params_['img_type'] = $params['img_type']; $params_['img_type'] = $params['img_type'];
} }
/*$params = array( /*$params = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment