This commit is contained in:
parent
b1656b092f
commit
49b472e080
|
@ -65,8 +65,8 @@ class QaController extends base
|
|||
$list = $list->paginate($request->get('limit',10))->toArray();
|
||||
|
||||
foreach ($list['data'] as &$item) {
|
||||
$item['img_zip'] = explode(',', $item['img_zip']);
|
||||
$item['trip_zip'] = explode(',', $item['trip_zip']);
|
||||
$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