作者 lyh

gx

@@ -98,7 +98,10 @@ class BTemplateLogic extends BaseLogic @@ -98,7 +98,10 @@ class BTemplateLogic extends BaseLogic
98 $commonInfo['head_html'].$mainInfo['main_html'].$commonInfo['footer_html']; 98 $commonInfo['head_html'].$mainInfo['main_html'].$commonInfo['footer_html'];
99 $html = $this->getHeadFooter($html); 99 $html = $this->getHeadFooter($html);
100 $result = ['html'=>$html,'template_id'=>$template_id]; 100 $result = ['html'=>$html,'template_id'=>$template_id];
101 - if($templateInfo !== false){$result['id'] = $templateInfo['id'];} 101 + if($templateInfo !== false){
  102 + $result['id'] = $templateInfo['id'];
  103 + $result['updated_at'] = $templateInfo['updated_at'];
  104 + }
102 return $this->success($result); 105 return $this->success($result);
103 } 106 }
104 107