作者 lyh

gx

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