...
|
...
|
@@ -70,7 +70,7 @@ class Index extends Api |
|
|
->where(['study_id' => $sid, 'campus_id' => $campus])
|
|
|
->sum('score');
|
|
|
$data['active_study_info'] = \db('study')->where('id', $sid)->value('name');
|
|
|
$this->success('获取成功', [$data, 'status' => 1]);
|
|
|
$this->success('获取成功', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -141,7 +141,7 @@ class Index extends Api |
|
|
$v['url'] = null;
|
|
|
}
|
|
|
}
|
|
|
$this->success('获取轮播图详情成功', [$data, 'status' => 1]);
|
|
|
$this->success('获取轮播图详情成功', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -187,7 +187,7 @@ class Index extends Api |
|
|
->order('t.score DESC')
|
|
|
->paginate($row, false, ['page' => $page]);
|
|
|
//最终显示
|
|
|
$this->success('战队排行榜', [$data, 'status' => 1]);
|
|
|
$this->success('战队排行榜', $data);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -236,6 +236,6 @@ class Index extends Api |
|
|
return $item;
|
|
|
});
|
|
|
//最终显示
|
|
|
$this->success('个人排行榜', [$data, 'status' => 1]);
|
|
|
$this->success('个人排行榜', $data);
|
|
|
}
|
|
|
} |
...
|
...
|
|