正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -198,7 +198,7 @@ class ATemplateLogic extends BaseLogic | @@ -198,7 +198,7 @@ class ATemplateLogic extends BaseLogic | ||
| 198 | $bSettingModel = new Setting(); | 198 | $bSettingModel = new Setting(); |
| 199 | $info = $bSettingModel->read(['project_id'=>$this->param['project_id']],['template_id']); | 199 | $info = $bSettingModel->read(['project_id'=>$this->param['project_id']],['template_id']); |
| 200 | if($info !== false){ | 200 | if($info !== false){ |
| 201 | - $data = $this->model->read(['template_id'=>$info['template_id']],['id','name']); | 201 | + $data = $this->model->read(['id'=>$info['template_id']],['id','name']); |
| 202 | } | 202 | } |
| 203 | return $this->success($data); | 203 | return $this->success($data); |
| 204 | } | 204 | } |
-
请 注册 或 登录 后发表评论