|
...
|
...
|
@@ -69,7 +69,8 @@ class Demo extends Command |
|
|
|
foreach ($list as $v){
|
|
|
|
echo date('Y-m-d H:i:s') . 'project_id:'.$v['id'] . PHP_EOL;
|
|
|
|
ProjectServer::useProject($v['id']);
|
|
|
|
DB::table('gl_web_template_com')->truncate();
|
|
|
|
$templateComModel = new BTemplateCom();
|
|
|
|
$templateComModel->truncate();
|
|
|
|
$this->saveTemplateCom($v['id']);
|
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
}
|
...
|
...
|
|