Bladeren bron

wip:P728百度SEM推广行业分类落地页建设

wkyuer 3 maanden geleden
bovenliggende
commit
9ec0eb69de
2 gewijzigde bestanden met toevoegingen van 1 en 4 verwijderingen
  1. 1 0
      internal/controller/debrisProduct.go
  2. 0 4
      internal/service/debrisProductStruct.go

+ 1 - 0
internal/controller/debrisProduct.go

@@ -25,6 +25,7 @@ func DebrisProductHandler(r *ghttp.Request) {
 	}
 	}
 	service.HtmlRender.Render(r, "debrisProduct_list.html",
 	service.HtmlRender.Render(r, "debrisProduct_list.html",
 		g.Map{
 		g.Map{
+			"isIndex":   true,
 			"sTypeNode": sNode,
 			"sTypeNode": sNode,
 			"list":      rData,
 			"list":      rData,
 			"node":      sNode,
 			"node":      sNode,

+ 0 - 4
internal/service/debrisProductStruct.go

@@ -41,10 +41,6 @@ func initDebrisProductRoot(ctx context.Context) *seoDebrisProductRoot {
 	}
 	}
 }
 }
 
 
-func (this *seoDebrisProductRoot) GetData(ctx context.Context, maxTotal int, query *SeoBiddingQuery) []map[string]interface{} {
-	return nil
-}
-
 func (this *seoDebrisProductRoot) GetDebrisProductNode(code string) *DebrisItem {
 func (this *seoDebrisProductRoot) GetDebrisProductNode(code string) *DebrisItem {
 	return this.mapping[code]
 	return this.mapping[code]
 }
 }