|
...
|
...
|
@@ -136,6 +136,10 @@ class BTemplateLogic extends BaseLogic |
|
|
|
if($customHtmlInfo === false){
|
|
|
|
$this->fail('定制页面,请先上传代码块');
|
|
|
|
}
|
|
|
|
$commonInfo = $this->getCommonPage($type,$this->user['project_id'],0);//获取定制头部
|
|
|
|
if($commonInfo !== false){
|
|
|
|
$customHtmlInfo['main_html'] = $this->handleAllHtml($commonInfo,$customHtmlInfo['main_html']);
|
|
|
|
}
|
|
|
|
return $customHtmlInfo['main_html'];
|
|
|
|
}
|
|
|
|
return [];
|
|
...
|
...
|
@@ -552,11 +556,10 @@ class BTemplateLogic extends BaseLogic |
|
|
|
}else{
|
|
|
|
$type = 'all';
|
|
|
|
}
|
|
|
|
$route = RouteMap::getRoute($type,$source_id,$this->user['project_id']);
|
|
|
|
}else{
|
|
|
|
$type = RouteMap::SOURCE_MODULE;
|
|
|
|
$route = RouteMap::getRoute($type,$source_id,$this->user['project_id']);
|
|
|
|
}
|
|
|
|
$route = RouteMap::getRoute($type,$source_id,$this->user['project_id']);
|
|
|
|
$this->addUpdateNotify($type,$route);
|
|
|
|
return $this->curlDelRoute(['route'=>$route,'new_route'=>$route]);
|
|
|
|
}
|
...
|
...
|
|