This commit is contained in:
parent
404dd7fb8c
commit
04f4850b1c
|
@ -65,8 +65,8 @@ class QaController extends base
|
|||
$list = $list->paginate($request->get('limit',10))->toArray();
|
||||
|
||||
foreach ($list['data'] as &$item) {
|
||||
$item['img_zip'] = json_decode($item['img_zip'], true);
|
||||
$item['trip_zip'] = json_decode($item['trip_zip'], true);
|
||||
$item['img_zip'] = $item['img_zip'] ? explode(',', $item['img_zip']) : [];
|
||||
$item['trip_zip'] = $item['trip_zip'] ? explode(',', $item['trip_zip']) : [];
|
||||
}
|
||||
|
||||
return $this->success($list);
|
||||
|
|
Loading…
Reference in New Issue