Răsfoiți Sursa

Merge branch 'dev/v4.8.16.2_zxl' of qmx/jy into hotfix/v4.8.16.2

zhangxinlei1996 2 ani în urmă
părinte
comite
6d7140d1d6
2 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 1 1
      src/jfw/front/tags.go
  2. 2 1
      src/seo.json

+ 1 - 1
src/jfw/front/tags.go

@@ -649,7 +649,7 @@ func (this *Tags) GetBidding(industry, area, city, stype, keyword string, reques
 			var datas *[]map[string]interface{}
 			var startPage int
 			currentPage := 5
-			limitcount := 50
+			limitcount := qu.IntAllDef(config.Seoconfig["tagsLimitCount"], 50)
 			count := elastic.Count(INDEX, TYPE, query1)
 			if keyword == "" {
 				r := rand.New(rand.NewSource(time.Now().UnixNano()))

+ 2 - 1
src/seo.json

@@ -4491,5 +4491,6 @@
 	"seoKeywordSuffix":"",
 	"seoLetterPageSize":1000,
 	"seoAreaSuffix":"政府采购网",
-  "appNewUserTime":1668155814
+  "appNewUserTime":1668155814,
+  "tagsLimitCount":300
 }