...
|
...
|
@@ -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')
|
...
|
...
|
|