作者 开飞机的舒克

接口优化

... ... @@ -55,6 +55,13 @@ class Index extends Api
break;
}
}
if (empty($list)){
$res = \db('study')
->where('user_id', $userinfo['id'])
->field('name,grade,school,earn_score')
->find();
$this->success('获取成功', $res);
}
$this->success('获取成功', $list);
}
... ...
... ... @@ -5303,7 +5303,7 @@
</div>
<div class="col-md-6" align="right">
Generated on 2023-03-20 11:20:40 <a href="./" target="_blank">校园活动</a>
Generated on 2023-03-20 11:31:50 <a href="./" target="_blank">校园活动</a>
</div>
</div>
... ...