From 52371fae14b72d4af0db4b10d7daaf3e9372263b Mon Sep 17 00:00:00 2001 From: "1023150697@qq.com" <1023150697@qq.com> Date: Thu, 29 Jan 2026 22:30:13 +0800 Subject: [PATCH] update --- commands/SpiderController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/SpiderController.php b/commands/SpiderController.php index d8245c8..ab3037c 100644 --- a/commands/SpiderController.php +++ b/commands/SpiderController.php @@ -60,11 +60,11 @@ class SpiderController extends Controller // var_dump(new BaseCommandSpiderLogic()); // var_dump(class_exists("app\\models\\logics\\commands\\base\\BaseCommandSpiderLogic"));die; foreach (BrandSource::find()->where(['is_deleted' => 0])->each() as $index => $item) { - if ($index == 1) { - \Yii::$app->queue->push(new RunwayJob([ +// if ($index == 1) { + var_dump(\Yii::$app->queue->push(new RunwayJob([ 'source' => $item, - ])); - } + ]))); +// } } }