...
|
...
|
@@ -109,6 +109,7 @@ class Index extends Api |
|
|
$user_id = $this->auth->id;
|
|
|
$is_up = $this->request->param('is_up');
|
|
|
|
|
|
$where = [];
|
|
|
$keyword = $this->request->param('keyword');
|
|
|
if(!empty($keyword)){
|
|
|
$where['folder_name'] = ['like',"%$keyword%"];
|
...
|
...
|
@@ -117,8 +118,6 @@ class Index extends Api |
|
|
//判断是否为全部还是 已上架/已下架
|
|
|
if(!empty($is_up)){
|
|
|
$where['is_up'] = ['eq',$is_up];
|
|
|
}else{
|
|
|
$where = true;
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|