正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -510,7 +510,9 @@ class BTemplateLogic extends BaseLogic | @@ -510,7 +510,9 @@ class BTemplateLogic extends BaseLogic | ||
| 510 | $templateCommonModel->edit($data,['id'=>$commonInfo['id']]); | 510 | $templateCommonModel->edit($data,['id'=>$commonInfo['id']]); |
| 511 | } | 511 | } |
| 512 | //更新所有界面的other | 512 | //更新所有界面的other |
| 513 | - return $templateCommonModel->edit(['other'=>$handleInfo['other']],['project_id'=>$this->user['project_id'],'template_id'=>$template_id]); | 513 | + if($template_id != 0){ |
| 514 | + return $templateCommonModel->edit(['other'=>$handleInfo['other']],['project_id'=>$this->user['project_id'],'template_id'=>$template_id]); | ||
| 515 | + } | ||
| 514 | } | 516 | } |
| 515 | 517 | ||
| 516 | /** | 518 | /** |
-
请 注册 或 登录 后发表评论