|
|
@ -94,7 +94,10 @@ class Invite extends Controller |
|
|
|
$data['refuse_num'] = 0; |
|
|
|
$data['refuse_num'] = 0; |
|
|
|
$model = new InviteLog(); |
|
|
|
$model = new InviteLog(); |
|
|
|
$user_ids = $model->inviteeUserIds(); |
|
|
|
$user_ids = $model->inviteeUserIds(); |
|
|
|
$status = intval($this->request->post('status', 10)); |
|
|
|
$status = intval($this->request->post('status')); |
|
|
|
|
|
|
|
if (!$status) { |
|
|
|
|
|
|
|
$status = WholesalerEnum::ADOPT; |
|
|
|
|
|
|
|
} |
|
|
|
if ($user_ids) { |
|
|
|
if ($user_ids) { |
|
|
|
$applyModel = new Apply(); |
|
|
|
$applyModel = new Apply(); |
|
|
|
$list = $applyModel->whereIn('user_id', $user_ids) |
|
|
|
$list = $applyModel->whereIn('user_id', $user_ids) |
|
|
|