作者 开飞机的舒克

... ... @@ -167,6 +167,7 @@ class Index extends Api
$user = $this->auth->getUserinfo();
$find = \db('study')->where('user_id',$user['id'])->find();
$res = \db('study_score_log')->where('study_id',$find['id'])->column('campus_id');
$data = [];
foreach ($res as $k){
$data = \db('campus')->where('id',$k)->select();
}
... ...