正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -523,9 +523,9 @@ class BTemplateLogic extends BaseLogic | @@ -523,9 +523,9 @@ class BTemplateLogic extends BaseLogic | ||
| 523 | $info = $templateComModel->read($condition); | 523 | $info = $templateComModel->read($condition); |
| 524 | if($info === false){ | 524 | if($info === false){ |
| 525 | $param = array_merge($param,$condition); | 525 | $param = array_merge($param,$condition); |
| 526 | - $this->model->add($param); | 526 | + $templateComModel->add($param); |
| 527 | }else{ | 527 | }else{ |
| 528 | - $this->model->edit($param,$condition); | 528 | + $templateComModel->edit($param,$condition); |
| 529 | } | 529 | } |
| 530 | } | 530 | } |
| 531 | return $this->success(); | 531 | return $this->success(); |
-
请 注册 或 登录 后发表评论