作者 景琛

倒计时结束,大屏修改

@@ -62,7 +62,10 @@ class Screen extends Api @@ -62,7 +62,10 @@ class Screen extends Api
62 foreach ($find as $k){ 62 foreach ($find as $k){
63 db('team')->where('id',$k)->update(['score'=>0]); 63 db('team')->where('id',$k)->update(['score'=>0]);
64 } 64 }
65 - $list = null; 65 + $list['images'] = cdnurl($data['images'], true);
  66 + $list['count_down'] = $data['endtime'];
  67 + $list['screen_name'] = $data['title'];
  68 + $list['campus_name'] = $data['campus'];
66 $this->success('获取成功', $list); 69 $this->success('获取成功', $list);
67 } 70 }
68 $this->success('获取成功', $list); 71 $this->success('获取成功', $list);