Parcourir la source

Merge branch 'master' of https://git.hxiaoju.top/Teapay/RWACha-API

afa il y a 6 mois
Parent
commit
c2065991c7
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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)){