作者 lyh

gx

@@ -26,39 +26,6 @@ class ReplaceHtmlLogic extends BaseLogic @@ -26,39 +26,6 @@ class ReplaceHtmlLogic extends BaseLogic
26 } 26 }
27 27
28 /** 28 /**
29 - * @remark :定制页面头部类型---根据source获取type类型  
30 - * @name :getType  
31 - * @author :lyh  
32 - * @method :post  
33 - * @time :2023/11/16 11:20  
34 - */  
35 - public function getCustomizedType($source,$is_list){  
36 - $type = BTemplate::TYPE_HOME;  
37 - if($source == BTemplate::SOURCE_PRODUCT){  
38 - if($is_list == BTemplate::IS_LIST){  
39 - $type = BTemplate::TYPE_PRODUCT_LIST;  
40 - }else{  
41 - $type = BTemplate::TYPE_PRODUCT_DETAIL;  
42 - }  
43 - }  
44 - if($source == BTemplate::SOURCE_BLOG){  
45 - if($is_list == BTemplate::IS_LIST){  
46 - $type = BTemplate::TYPE_BLOG_LIST;  
47 - }else{  
48 - $type = BTemplate::TYPE_BLOG_DETAIL;  
49 - }  
50 - }  
51 - if($source == BTemplate::SOURCE_NEWS){  
52 - if($is_list == BTemplate::IS_LIST){  
53 - $type = BTemplate::TYPE_NEWS_LIST;  
54 - }else{  
55 - $type = BTemplate::TYPE_NEWS_DETAIL;  
56 - }  
57 - }  
58 - return $type;  
59 - }  
60 -  
61 - /**  
62 * @remark :替换可视化的html代码(按类型) 29 * @remark :替换可视化的html代码(按类型)
63 * @name :replaceHtml 30 * @name :replaceHtml
64 * @author :lyh 31 * @author :lyh