作者 开飞机的舒克

接口优化

... ... @@ -95,7 +95,7 @@ class Activity extends Api
public function getRonda()
{
$cid = $this->request->param('cid');
if (empty($id)) {
if (empty($cid)) {
$this->error('参数错误', ['status' => 2]);
}
$data = db('ronda r')
... ... @@ -126,7 +126,7 @@ class Activity extends Api
public function getItem()
{
$rid = $this->request->param('rid');
if (empty($id)) {
if (empty($rid)) {
$this->error('参数错误', ['status' => 2]);
}
$data = db('item i')
... ...
... ... @@ -5200,7 +5200,7 @@
</div>
<div class="col-md-6" align="right">
Generated on 2023-03-17 13:49:30 <a href="./" target="_blank">校园活动</a>
Generated on 2023-03-17 13:51:47 <a href="./" target="_blank">校园活动</a>
</div>
</div>
... ...