作者 lyh

gx

... ... @@ -622,9 +622,9 @@ class BTemplateLogic extends BaseLogic
* @time :2023/7/27 15:08
*/
public function getModule($type,$is_custom){
if($is_custom == BTemplate::SOURCE_CUSTOM){
$type == BTemplate::TYPE_CUSTOM_DETAIL;
}
// if($is_custom == BTemplate::SOURCE_CUSTOM){
// $type == BTemplate::TYPE_CUSTOM_DETAIL;
// }
$mainModel = new TemplateTypeMain();
$info = $mainModel->read(['type'=>$type]);
return $info['main_html'];
... ...