|
...
|
...
|
@@ -52,7 +52,8 @@ class HeaderFooter 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');
|
|
|
|
}
|
...
|
...
|
|