Browse Source

社区地图

lizhen 3 days ago
parent
commit
48e8f26360
1 changed files with 1 additions and 2 deletions
  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);