request->param('id')); $type = $this->getArg(0); if ($this->request->isLogin() && $id) { Queue::push(VisitProductJob::class, [ 'uid' => $this->request->uid(), 'res_type' => 1, 'id' => $id, 'product_type' => $type ]); } } }