瀏覽代碼

茶语详情

afa 8 月之前
父節點
當前提交
84d1c2c66f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Announcement.php

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

@@ -34,7 +34,7 @@ class Announcement extends Api
         $info = (new AnnouncementModel)
             ->where('id', $id)
             ->where('status', 1)
-            ->field('id,img_url,introduction,createtime,' . $this->lan.'_title as title,'.$this->lan.'_body as body')
+            ->field('id,img_url,createtime,' . $this->lan.'_title as title,'.$this->lan.'_body as body')
             ->find();
         if(empty($info)){
             $this->error('公告信息不存');