From 4c404a75e035a76dcb346b53bc9c940b11e13f03 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sat, 21 Sep 2024 11:42:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=95=86=E5=AD=A6=E9=99=A2?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/BusinessSchoolLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'])