@ -108,6 +108,10 @@ class Invite extends Controller
}
$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);