wang hou sheng 8 months ago
parent be233e09b4
commit dd553b9105
  1. 4
      app/api/controller/Invite.php

@ -108,6 +108,10 @@ class Invite extends Controller
} }
} }
$data['total'] = $list->total(); $data['total'] = $list->total();
//审核通过
$data['adoption_num'] = $applyModel->whereIn('user_id', $user_ids)->where(['status' => WholesalerEnum::ADOPT])->count();
//审核拒绝
$data['refuse_num'] = $applyModel->whereIn('user_id', $user_ids)->where(['status' => WholesalerEnum::REFUSE])->count();
} }
return $this->renderSuccess($data); return $this->renderSuccess($data);
} }

Loading…
Cancel
Save