...
|
...
|
@@ -111,6 +111,7 @@ class Activity extends Api |
|
|
$item['ronda'] = db('ronda')->where('id',$item['ronda_id'])->field('title,holdtime')->find();
|
|
|
$item['item'] = db('item')->where('id',$item['item_id'])->value('title');
|
|
|
$item['item_details'] = db('item_details')->where('item_id',$item['item_id'])->field('images,details')->find();
|
|
|
$item['item_details']['images'] = cdnurl($item['item_details']['images'], true);
|
|
|
return $item;
|
|
|
});
|
|
|
$this->success('项目场次日期', $data);
|
...
|
...
|
@@ -140,6 +141,7 @@ class Activity extends Api |
|
|
$data = db('item_details')
|
|
|
->where('item_id', $id)
|
|
|
->find();
|
|
|
$data['images'] = cdnurl($data['images'], true);
|
|
|
$this->success('', $data);
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|