作者 开飞机的舒克

后台修改

... ... @@ -103,7 +103,7 @@ class Activity extends Api
->join('item_details d','d.item_id = i.id')
->join('ronda r','i.ronda_id = r.id')
->join('campus c','c.id = i.campus_id')
->field('c.title as campus_title,i.campus_id,i.ronda_id,i.title,i.details,d.images,r.title as ronda_title,r.holdtime as ronda_holdtime')
->field('c.title as campus_title,i.title,i.details,d.images,r.title as ronda_title,r.holdtime as ronda_holdtime')
->where('i.campus_id',$id)
->paginate(10)
->each(function ($item,$key){
... ...