作者 开飞机的舒克

首页项目校区展示问题

... ... @@ -289,7 +289,7 @@ class Bind extends Api
//获取雷达维度
//halt($sid);
$model = new RadarScore();
$data['item'] = $model->whereIn('campus_ids',$cid)->where('study_id',$sid)->field('radar_id,score')
$data['item'] = $model->where('campus_id',$cid)->where('study_id',$sid)->field('radar_id,score')
->paginate(9,false)
->each(function ($item,$key){
$item['radar'] = \db('radar')->where('id',$item['radar_id'])->value('title');
... ...