|
...
|
...
|
@@ -122,8 +122,9 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
'project_id'=>$this->user['project_id'],
|
|
|
|
'source'=>1//首页
|
|
|
|
]);
|
|
|
|
var_dump($TemplateInfo);
|
|
|
|
die();
|
|
|
|
if($TemplateInfo === false){
|
|
|
|
$this->fail('请先装修首页');
|
|
|
|
}
|
|
|
|
if(empty($preg_html)){
|
|
|
|
$preg_html = "<main></main>";
|
|
|
|
$html = preg_replace('/<style id="globalsojs-styles">(.*?)<\/style>/s', "<style id='globalsojs-styles'></style>", $TemplateInfo['html']);
|
...
|
...
|
|