afa 6 сар өмнө
parent
commit
3740f64b00

+ 1 - 1
application/api/controller/Announcement.php

@@ -31,7 +31,7 @@ class Announcement extends Api
         $typeId = $this->request->param('type_id', 1, 'intval');
         $paginator = $announcementModel->where('type_id', $typeId)
             ->where('status', 1)->where('to_lang', $this->lan)
-            ->field('id,to_lang,weigh,img_url,createtime,title as title,is_top,sub_type_id')
+            ->field('id,to_lang,weigh,img_url,createtime,title as title,introduction,body,is_top,sub_type_id')
             ->order('is_top desc, weigh desc')
             ->paginate($this->pageSize);