正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -116,7 +116,7 @@ class BTemplateLogic extends BaseLogic | @@ -116,7 +116,7 @@ class BTemplateLogic extends BaseLogic | ||
| 116 | //获取当前模版详情 | 116 | //获取当前模版详情 |
| 117 | //获取模板详情 | 117 | //获取模板详情 |
| 118 | $ATemplateModel = new Template(); | 118 | $ATemplateModel = new Template(); |
| 119 | - $TemplateInfo = $ATemplateModel->read(['id'=>$info['template_id']]); | 119 | + $TemplateInfo = $ATemplateModel->read(['id'=>$this->param['template_id']]); |
| 120 | //同步数据 | 120 | //同步数据 |
| 121 | $this->param['name'] = $TemplateInfo['name']; | 121 | $this->param['name'] = $TemplateInfo['name']; |
| 122 | $this->param['image'] = $TemplateInfo['image']; | 122 | $this->param['image'] = $TemplateInfo['image']; |
-
请 注册 或 登录 后发表评论