jason 6 месяцев назад
Родитель
Сommit
b26fe1a308
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      application/api/controller/Announcement.php

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

@@ -34,7 +34,8 @@ class Announcement extends Api
     {
         $info = (new AnnouncementModel)
             ->where('id', $id)
-            ->where('status', 1)->where('to_lang', $this->lan)
+            //->where('status', 1)
+            ->where('to_lang', $this->lan)
             ->field('id,img_url,to_lang,createtime,title,introduction,body')
             ->find();
         if(empty($info)){