|
...
|
...
|
@@ -142,7 +142,11 @@ class BTemplateLogic extends BaseLogic |
|
|
|
$this->fail('当前扩展模块不存在或已被删除');
|
|
|
|
}
|
|
|
|
//扩展模块定制
|
|
|
|
if($info['list_customized'] == BTemplate::IS_VISUALIZATION || $info['detail_customized'] == BTemplate::IS_VISUALIZATION){
|
|
|
|
if($is_list == BTemplate::IS_LIST && $info['list_customized'] == BTemplate::IS_VISUALIZATION){
|
|
|
|
$html = $this->customModuleCustomizeHtml($source,$is_list,$is_custom);
|
|
|
|
return $this->success(['html'=>$html,'template_id'=>$template_id]);
|
|
|
|
}
|
|
|
|
if($is_list == BTemplate::IS_DETAIL || $info['detail_customized'] == BTemplate::IS_VISUALIZATION){
|
|
|
|
$html = $this->customModuleCustomizeHtml($source,$is_list,$is_custom);
|
|
|
|
return $this->success(['html'=>$html,'template_id'=>$template_id]);
|
|
|
|
}
|
...
|
...
|
|