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