正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -309,7 +309,7 @@ class CustomTemplateLogic extends BaseLogic | @@ -309,7 +309,7 @@ class CustomTemplateLogic extends BaseLogic | ||
| 309 | $typeSource = $this->getType(); | 309 | $typeSource = $this->getType(); |
| 310 | } | 310 | } |
| 311 | //查看当前数据是否还存在 | 311 | //查看当前数据是否还存在 |
| 312 | - $condition = ['template_id'=>$template_id,'source'=>$typeSource,'common_type'=>$type]; | 312 | + $condition = ['project_id'=>$this->user['project_id'],'template_id'=>$template_id,'source'=>$typeSource,'common_type'=>$type]; |
| 313 | $info = $templateComModel->read($condition); | 313 | $info = $templateComModel->read($condition); |
| 314 | if($info === false){ | 314 | if($info === false){ |
| 315 | $data = array_merge($param,$condition); | 315 | $data = array_merge($param,$condition); |
-
请 注册 或 登录 后发表评论