|
|
@ -76,13 +76,13 @@ class Feedback extends Controller |
|
|
|
$list = $model->getList($params, intval($pageSize))->toArray(); |
|
|
|
$list = $model->getList($params, intval($pageSize))->toArray(); |
|
|
|
|
|
|
|
|
|
|
|
foreach ($list['data'] as $kr => $r) { |
|
|
|
foreach ($list['data'] as $kr => $r) { |
|
|
|
$res[$kr]['imgsInfo'] = []; |
|
|
|
$list['data'][$kr]['imgsInfo'] = []; |
|
|
|
if ($r['imgs']) { |
|
|
|
if ($r['imgs']) { |
|
|
|
$img_ids = explode(",", $r['imgs']); |
|
|
|
$img_ids = explode(",", $r['imgs']); |
|
|
|
$files = UploadFile::getFileListBySuper($img_ids); |
|
|
|
$files = UploadFile::getFileListBySuper($img_ids); |
|
|
|
$list['data'][$kr]['imgsInfo'] = $files ?: null; |
|
|
|
$list['data'][$kr]['imgsInfo'] = $files ?: null; |
|
|
|
} |
|
|
|
} |
|
|
|
$res[$kr]['deal_time'] = !empty($r['deal_time']) ? Date("Y-m-d H:i:s", $r['deal_time']) : ''; |
|
|
|
$list['data'][$kr]['deal_time'] = !empty($r['deal_time']) ? Date("Y-m-d H:i:s", $r['deal_time']) : ''; |
|
|
|
} |
|
|
|
} |
|
|
|
return $this->renderSuccess($list); |
|
|
|
return $this->renderSuccess($list); |
|
|
|
} |
|
|
|
} |
|
|
|