diff --git a/app/api/controller/Invite.php b/app/api/controller/Invite.php index f1059e16..8f23d2b0 100644 --- a/app/api/controller/Invite.php +++ b/app/api/controller/Invite.php @@ -107,13 +107,6 @@ class Invite extends Controller ->paginate(15); $data['list'] = $list->items(); $data['total'] = $list->total(); - if ($data['total'] > 0) { - foreach ($data['list'] as $key => $item) { - if (!empty($item->create_time)) { - $data['list'][$key]['create_time'] = date('Y-m-d H:i:s', $item->create_time); - } - } - } //审核通过 $data['adoption_num'] = $applyModel->whereIn('user_id', $user_ids)->where(['status' => WholesalerEnum::ADOPT])->count(); //审核拒绝