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, - ])); - } + ]))); +// } } }