作者 开飞机的舒克

网页大屏优化

... ... @@ -41,7 +41,7 @@ class Screen extends Api
->paginate(4)
->each(function ($item,$key){
$item['team_name'] = db('team')->where('id',$item['team_id'])->value('title');
$item['team_score'] = $item['sum_score'];
$item['score'] = $item['sum_score'];
$item['study'] = db('study_ronda_score l')
->join('study s','l.sid = s.id')
->where('l.team_id',$item['team_id'])
... ...