作者 景琛

大屏分数问题修改

@@ -44,7 +44,7 @@ class Screen extends Api @@ -44,7 +44,7 @@ class Screen extends Api
44 $item['team_name'] = db('team')->where('id', $item['team_id'])->value('title'); 44 $item['team_name'] = db('team')->where('id', $item['team_id'])->value('title');
45 $item['team_color'] = db('team')->where('id', $item['team_id'])->value('color'); 45 $item['team_color'] = db('team')->where('id', $item['team_id'])->value('color');
46 $item['team_score'] = $item['score']; 46 $item['team_score'] = $item['score'];
47 - $item['percent'] = round($item['score']*0.6,2); 47 + $item['percent'] = round($item['score']*0.1,2);
48 $item['study'] = db('study_ronda_score l') 48 $item['study'] = db('study_ronda_score l')
49 ->join('study s', 'l.sid = s.id') 49 ->join('study s', 'l.sid = s.id')
50 ->where('l.team_id', $item['team_id']) 50 ->where('l.team_id', $item['team_id'])