作者 邓超

xd

@@ -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