|
...
|
...
|
@@ -72,9 +72,9 @@ class UpdateRoute extends Command |
|
|
|
public function ceshi($project_id){
|
|
|
|
$templateModel = new BTemplate();
|
|
|
|
$info = $templateModel->orderBy('id','desc')->first();
|
|
|
|
if($info !== false){
|
|
|
|
if(!empty($info)){
|
|
|
|
$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]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|