|
...
|
...
|
@@ -95,12 +95,12 @@ class InquiryLogic extends BaseLogic |
|
|
|
->select($fields)->orderBy('id', 'desc')->paginate($page_size, ['*'], 'page', $page);
|
|
|
|
$data = $lists->toArray();
|
|
|
|
foreach ($data['list'] as &$v){
|
|
|
|
$v = array_merge($v, $v['data']);
|
|
|
|
foreach ($v['data'] as &$field){
|
|
|
|
if(is_array($field) && !empty($field['path'])){
|
|
|
|
$field['path'] = getImageUrl($field['path']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$v = array_merge($v, $v['data']);
|
|
|
|
}
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
...
|
...
|
|