作者 张关杰

gx

@@ -915,38 +915,4 @@ class BTemplateLogic extends BaseLogic @@ -915,38 +915,4 @@ class BTemplateLogic extends BaseLogic
915 } 915 }
916 return $this->success(); 916 return $this->success();
917 } 917 }
918 -  
919 - /**  
920 -<<<<<<< HEAD  
921 - * @remark :定制页面头部类型---根据source获取type类型  
922 - * @name :getType  
923 - * @author :lyh  
924 - * @method :post  
925 - * @time :2023/11/16 11:20  
926 - */  
927 - public function getCustomizedType($source,$is_list){  
928 - $type = BTemplate::TYPE_HOME;  
929 - if($source == BTemplate::SOURCE_PRODUCT){  
930 - if($is_list == BTemplate::IS_LIST){  
931 - $type = BTemplate::TYPE_PRODUCT_LIST;  
932 - }else{  
933 - $type = BTemplate::TYPE_PRODUCT_DETAIL;  
934 - }  
935 - }  
936 - if($source == BTemplate::SOURCE_BLOG){  
937 - if($is_list == BTemplate::IS_LIST){  
938 - $type = BTemplate::TYPE_BLOG_LIST;  
939 - }else{  
940 - $type = BTemplate::TYPE_BLOG_DETAIL;  
941 - }  
942 - }  
943 - if($source == BTemplate::SOURCE_NEWS){  
944 - if($is_list == BTemplate::IS_LIST){  
945 - $type = BTemplate::TYPE_NEWS_LIST;  
946 - }else{  
947 - $type = BTemplate::TYPE_NEWS_DETAIL;  
948 - }  
949 - }  
950 - return $type;  
951 - }  
952 } 918 }