From fd60af89f06b09fd49088482a87c95db4e72e4bd Mon Sep 17 00:00:00 2001
From: jiawen <1845253678@qq.com>
Date: Sun, 5 May 2019 21:12:48 +0800
Subject: [PATCH] 幻灯片管理微调2

---
 api/wxapp/controller/PublicController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/wxapp/controller/PublicController.php b/api/wxapp/controller/PublicController.php
index f7857d9..540743e 100644
--- a/api/wxapp/controller/PublicController.php
+++ b/api/wxapp/controller/PublicController.php
@@ -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'=>'获取失败']);
         }
--
libgit2 0.24.0