作者 景琛

大屏分数问题修改

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