Browse Source

社区地图

lizhen 3 ngày trước cách đây
mục cha
commit
48e8f26360
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      application/api/controller/News.php

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

@@ -17,8 +17,7 @@ class News extends Api
         if(!$key){
             $this->error();
         }
-        $fields = 'name,video_file,content,updatetime';
-        $find = Db::name('news')->field($fields)->where('key',$key)->find();
+        $find = Db::name('news')->where('key',$key)->find();
         $find = info_domain_image($find,['video_file']);
 
         $this->success('success',$find);