正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -74,7 +74,7 @@ class UpdateRoute extends Command | @@ -74,7 +74,7 @@ class UpdateRoute extends Command | ||
| 74 | $info = $templateModel->orderBy('id','desc')->first(); | 74 | $info = $templateModel->orderBy('id','desc')->first(); |
| 75 | if($info !== false){ | 75 | if($info !== false){ |
| 76 | $webSettingModel = new Setting(); | 76 | $webSettingModel = new Setting(); |
| 77 | - $webSettingModel->add(['template_id'=>$info['template_id'],'project_id'=>$project_id]); | 77 | + $webSettingModel->add(['template_id'=>$info->template_id],'project_id'=>$project_id]); |
| 78 | } | 78 | } |
| 79 | } | 79 | } |
| 80 | 80 |
-
请 注册 或 登录 后发表评论