添加商学院列表获取
This commit is contained in:
parent
41f3409bf1
commit
4c404a75e0
@ -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'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user