|
|
@@ -39,10 +39,11 @@ class Home extends Api
|
|
|
'banner_list' => [],
|
|
|
'notice_list' => []
|
|
|
];
|
|
|
- // banner
|
|
|
+ // banner
|
|
|
$resp['banner_list'] = $announcement
|
|
|
->field('id,title as title,img_url,createtime')
|
|
|
->where('type_id', $announcement::Banner)
|
|
|
+ ->where('find_in_set(:id,sub_type_id)',['id'=>11])
|
|
|
->where('status', $announcement::Normal)
|
|
|
->where('is_show', $announcement::Normal)
|
|
|
->where('to_lang', $this->lan)
|