作者 开飞机的舒克

大屏管理接口修改

... ... @@ -44,6 +44,7 @@ class Screen extends Api
->paginate(4)
->each(function ($item,$key){
$res = db('study_score_log')->where('campus_id',$item['campus_id'])->sum('score');
$item['team_name'] = db('team')->where('id',$item['team_id'])->value('title');
$item['score'] = floor($item['sum_score']);
$item['percent'] = round(($item['score']*0.6) / $res * 100,2);
$item['study'] = db('study_score_log l')
... ...
... ... @@ -5920,7 +5920,7 @@
</div>
<div class="col-md-6" align="right">
Generated on 2023-03-29 10:46:58 <a href="./" target="_blank">校园活动</a>
Generated on 2023-04-03 10:34:06 <a href="./" target="_blank">校园活动</a>
</div>
</div>
... ...