master
wangxinglong 2022-04-06 11:50:45 +08:00
parent 6380fffd35
commit 25f5e11caa
1 changed files with 3 additions and 2 deletions

View File

@ -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){