setter
parent
6380fffd35
commit
25f5e11caa
|
@ -221,13 +221,14 @@ class Consumer extends Base
|
|||
return $this->request->domain() . $value;
|
||||
});
|
||||
}, $orders);
|
||||
if(!empty($list["list"])){
|
||||
|
||||
if(!empty($list["list"]->toArray())){
|
||||
return $this->json(1,"ok",$list["list"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$whereMap = [];
|
||||
$whereMap[] = ['position', '=', Slide::advertisement];
|
||||
$list = $repo->slideList($whereMap, ["id","title","src as image","url","url_type as type"], $page, $size, function ($q){
|
||||
|
|
Loading…
Reference in New Issue