wangmingchuan321@qq.com 10 months ago
commit 2d798decc8
  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