...
|
...
|
@@ -276,6 +276,9 @@ class Bind extends Api |
|
|
$user = $this->auth->getUserinfo();
|
|
|
$cid = $this->request->param('cid');
|
|
|
$sid = \db('study')->where('user_id', $user['id'])->value('id');
|
|
|
//获取学生的信息
|
|
|
$data = \db('study')->where('id', $sid)->field('avatar,name,earn_score')->find();
|
|
|
$data['avatar'] = cdnurl( $data['avatar'], true);
|
|
|
//获取雷达维度
|
|
|
$data['item'] = \db('study_score_log')
|
|
|
->distinct('item_id')
|
...
|
...
|
|