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