update
This commit is contained in:
@ -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,
|
||||||
]));
|
])));
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user