This commit is contained in:
2026-01-29 22:30:13 +08:00
parent 77cbfb0955
commit 52371fae14

View File

@ -60,11 +60,11 @@ class SpiderController extends Controller
// var_dump(new BaseCommandSpiderLogic()); // var_dump(new BaseCommandSpiderLogic());
// var_dump(class_exists("app\\models\\logics\\commands\\base\\BaseCommandSpiderLogic"));die; // var_dump(class_exists("app\\models\\logics\\commands\\base\\BaseCommandSpiderLogic"));die;
foreach (BrandSource::find()->where(['is_deleted' => 0])->each() as $index => $item) { foreach (BrandSource::find()->where(['is_deleted' => 0])->each() as $index => $item) {
if ($index == 1) { // if ($index == 1) {
\Yii::$app->queue->push(new RunwayJob([ var_dump(\Yii::$app->queue->push(new RunwayJob([
'source' => $item, 'source' => $item,
])); ])));
} // }
} }
} }