pull/1/head
wanghousheng 10 months ago
parent e13614e36f
commit e979258470
  1. 5
      app/api/controller/Recovery.php

@ -102,7 +102,10 @@ class Recovery extends Controller
foreach ($data['list'] as $key => $value) {
$data['list'][$key]['is_cancel'] = 0;
$data['list'][$key]['is_success'] = 0;
$data['list'][$key]['recovery_image'] = !empty($image_list[$value['recovery_id']]) ?: '';
$data['list'][$key]['recovery_image'] = '';
if (!empty($image_list[$value['recovery_id']])) {
$data['list'][$key]['recovery_image'] = $image_list[$value['recovery_id']];
}
if ($value['order_status'] == RecoveryStatusEnum::ACCEPTED) {
$data['list'][$key]['is_cancel'] = 1;
$data['list'][$key]['is_success'] = 1;

Loading…
Cancel
Save