Prechádzať zdrojové kódy

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

zhangxinlei1996 2 rokov pred
rodič
commit
6d7140d1d6
2 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  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
 }