...
|
...
|
@@ -276,7 +276,7 @@ class PublicController extends RestBaseController |
|
|
* @return content:轮播图内容
|
|
|
*/
|
|
|
public function getAdList() {
|
|
|
$result = Db::name('slideItem')->where(['state'=>1])->field('id,image,content')->select();
|
|
|
$result = Db::name('slideItem')->where(['status'=>1])->field('id,image,content')->select();
|
|
|
if ($result === false) {
|
|
|
$this->error(['code'=>'40000','msg'=>'获取失败']);
|
|
|
}
|
...
|
...
|
|