作者 刘锟

Merge remote-tracking branch 'origin/master' into akun

@@ -622,9 +622,9 @@ class BTemplateLogic extends BaseLogic @@ -622,9 +622,9 @@ 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 - } 625 +// if($is_custom == BTemplate::SOURCE_CUSTOM){
  626 +// $type == BTemplate::TYPE_CUSTOM_DETAIL;
  627 +// }
628 $mainModel = new TemplateTypeMain(); 628 $mainModel = new TemplateTypeMain();
629 $info = $mainModel->read(['type'=>$type]); 629 $info = $mainModel->read(['type'=>$type]);
630 return $info['main_html']; 630 return $info['main_html'];