瀏覽代碼

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

wkyuer 3 月之前
父節點
當前提交
9ec0eb69de
共有 2 個文件被更改,包括 1 次插入4 次删除
  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",
 		g.Map{
+			"isIndex":   true,
 			"sTypeNode": sNode,
 			"list":      rData,
 			"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 {
 	return this.mapping[code]
 }