|
...
|
...
|
@@ -50,7 +50,7 @@ class lyhDemo extends Command |
|
|
|
protected $description = '更新路由';
|
|
|
|
|
|
|
|
public function handle(){
|
|
|
|
return $this->getExpectResult();
|
|
|
|
return $this->_actionRoute();
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -86,10 +86,10 @@ class lyhDemo extends Command |
|
|
|
echo '需要处理->项目id:'.$item['id'].PHP_EOL;
|
|
|
|
$data[] = $item['id'];
|
|
|
|
}
|
|
|
|
dd($data);
|
|
|
|
echo 'end';
|
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
}
|
|
|
|
dd($data);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _actionTemplateMain(){
|
...
|
...
|
|