作者 lyh

gx

@@ -235,7 +235,7 @@ class BTemplateLogic extends BaseLogic @@ -235,7 +235,7 @@ class BTemplateLogic extends BaseLogic
235 $bTemplateMainModel = new BTemplateMain(); 235 $bTemplateMainModel = new BTemplateMain();
236 $mainInfo = $bTemplateMainModel->read(['project_id'=>$this->user['project_id'],'type'=>$type]); 236 $mainInfo = $bTemplateMainModel->read(['project_id'=>$this->user['project_id'],'type'=>$type]);
237 if($mainInfo === false){ 237 if($mainInfo === false){
238 - $data['main_html'] = $this->getModule($type); 238 + $data['main_html'] = $this->getModule($type,$is_custom);
239 $data['main_css'] = "<style id='globalsojs-styles'></style>"; 239 $data['main_css'] = "<style id='globalsojs-styles'></style>";
240 }else{ 240 }else{
241 $data['main_html'] = $mainInfo['main_html']; 241 $data['main_html'] = $mainInfo['main_html'];