QA调整
This commit is contained in:
parent
acae916e3f
commit
e7e757dbfc
|
@ -77,9 +77,13 @@ class QaController extends base
|
|||
$list = $list->paginate($request->get('limit',10))->toArray();
|
||||
|
||||
foreach ($list['data'] as &$item) {
|
||||
if (isset($item['img_zip']) && !empty($item['img_zip'])) {
|
||||
$item['img_zip'] = json_decode($item['img_zip'], true);
|
||||
}
|
||||
if (isset($item['trip_zip']) && !empty($item['trip_zip'])) {
|
||||
$item['trip_zip'] = json_decode($item['trip_zip'], true);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->success($list);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue