正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -123,7 +123,7 @@ class TemplateController extends BaseController | @@ -123,7 +123,7 @@ class TemplateController extends BaseController | ||
| 123 | $data = TemplateLogic::instance()->first($source,$source_id); | 123 | $data = TemplateLogic::instance()->first($source,$source_id); |
| 124 | 124 | ||
| 125 | 125 | ||
| 126 | - return $this->response('',Code::SUCCESS,['html'=>$data['html']]); | 126 | + return $this->response('',Code::SUCCESS,$data?$data['html']:''); |
| 127 | 127 | ||
| 128 | } | 128 | } |
| 129 | 129 |
-
请 注册 或 登录 后发表评论