diff --git a/app/api/logic/BusinessSchoolLogic.php b/app/api/logic/BusinessSchoolLogic.php index 2d80fd8e..6fe43476 100644 --- a/app/api/logic/BusinessSchoolLogic.php +++ b/app/api/logic/BusinessSchoolLogic.php @@ -44,8 +44,8 @@ class BusinessSchoolLogic extends Logic $count = $model->alias('a')->join('article_category c', 'c.id = a.cid')->where($where)->count(); $list = $model->alias('a') - ->join('article_category c', 'c.id = a.cid') - ->field(['a.id', 'a.title', 'a.image', 'a.visit', 'a.likes','a.intro', 'a.content', 'a.create_time']) + ->join('business_school_category c', 'c.id = a.cid') + ->field(['a.id', 'a.title', 'a.video']) ->where($where) ->order($order) ->page($get['page_no'], $get['page_size'])