正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -58,7 +58,7 @@ class AutoEmailContentController extends BaseController | @@ -58,7 +58,7 @@ class AutoEmailContentController extends BaseController | ||
| 58 | $info = $autoEmailModel->read(['project_id'=>$this->user['project_id']]); | 58 | $info = $autoEmailModel->read(['project_id'=>$this->user['project_id']]); |
| 59 | if($info === false){ | 59 | if($info === false){ |
| 60 | //执行新增 | 60 | //执行新增 |
| 61 | - $data = ['project_id'=>$this->user['project_id'],['title'=>$this->param['title'],'content'=>$this->param['content']]; | 61 | + $data = ['project_id'=>$this->user['project_id'],'title'=>$this->param['title'],'content'=>$this->param['content']]; |
| 62 | $id = $autoEmailModel->addReturnId($data); | 62 | $id = $autoEmailModel->addReturnId($data); |
| 63 | }else{ | 63 | }else{ |
| 64 | $id = $info['id']; | 64 | $id = $info['id']; |
-
请 注册 或 登录 后发表评论