argument('weight'); $this->info("当前节点的权重为:{$weight}"); ClusterSupport::updateThisNode([ 'weight' => $weight, ]); ClusterSupport::publish('weight.updated', [ 'weight' => $weight, ]); return CommandAlias::SUCCESS; } }