...
|
...
|
@@ -102,7 +102,11 @@ class Activity extends Api |
|
|
->join('campus c','c.id = r.campus_id')
|
|
|
->field('r.id as rid,c.title as campus_title,r.title as ronda_title,r.holdtime as ronda_holdtime')
|
|
|
->where('r.campus_id',$cid)
|
|
|
->paginate(10,false);
|
|
|
->paginate(10,false)
|
|
|
->each(function ($item,$key){
|
|
|
$item['holdtime'] = date('Y-m-d',$item['ronda_holdtime']);
|
|
|
return $item;
|
|
|
});
|
|
|
$this->success('获取场次列表成功', $data);
|
|
|
}
|
|
|
|
...
|
...
|
|