فهرست منبع

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

afa 6 ماه پیش
والد
کامیت
c2065991c7
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)){