pull/5/head
wanghousheng 4 months ago
parent 595c3ba00e
commit bac59a8e0f
  1. 5
      app/api/controller/Invite.php

@ -94,7 +94,10 @@ class Invite extends Controller
$data['refuse_num'] = 0;
$model = new InviteLog();
$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) {
$applyModel = new Apply();
$list = $applyModel->whereIn('user_id', $user_ids)

Loading…
Cancel
Save