正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -167,6 +167,7 @@ class Index extends Api | @@ -167,6 +167,7 @@ class Index extends Api | ||
167 | $user = $this->auth->getUserinfo(); | 167 | $user = $this->auth->getUserinfo(); |
168 | $find = \db('study')->where('user_id',$user['id'])->find(); | 168 | $find = \db('study')->where('user_id',$user['id'])->find(); |
169 | $res = \db('study_score_log')->where('study_id',$find['id'])->column('campus_id'); | 169 | $res = \db('study_score_log')->where('study_id',$find['id'])->column('campus_id'); |
170 | + $data = []; | ||
170 | foreach ($res as $k){ | 171 | foreach ($res as $k){ |
171 | $data = \db('campus')->where('id',$k)->select(); | 172 | $data = \db('campus')->where('id',$k)->select(); |
172 | } | 173 | } |
-
请 注册 或 登录 后发表评论