|
...
|
...
|
@@ -74,7 +74,7 @@ class UpdateRoute extends Command |
|
|
|
$info = $templateModel->orderBy('id','desc')->first();
|
|
|
|
if($info !== false){
|
|
|
|
$webSettingModel = new Setting();
|
|
|
|
$webSettingModel->add(['template_id'=>$info['template_id'],'project_id'=>$project_id]);
|
|
|
|
$webSettingModel->add(['template_id'=>$info->template_id],'project_id'=>$project_id]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|