Эх сурвалжийг харах

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

afa 6 сар өмнө
parent
commit
c2065991c7

+ 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)){