作者 景琛

大屏显示问题

@@ -28,7 +28,7 @@ class Screen extends Api @@ -28,7 +28,7 @@ class Screen extends Api
28 */ 28 */
29 public function index(){ 29 public function index(){
30 $list = []; 30 $list = [];
31 - $data = db('screen')->where('is_view',0)->find(); 31 + $data = db('screen')->where('is_view',1)->find();
32 $list['images'] = cdnurl($data['images'],true); 32 $list['images'] = cdnurl($data['images'],true);
33 $list['count_down'] = $data['endtime']; 33 $list['count_down'] = $data['endtime'];
34 $list['screen_name'] = $data['title']; 34 $list['screen_name'] = $data['title'];