Browse Source

feat: 修改限制

zhangxinlei1996 2 years ago
parent
commit
b2d0cce3a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/front/tags.go

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

@@ -661,7 +661,7 @@ func (this *Tags) GetBidding(industry, area, city, stype, keyword string, reques
 				datas = elastic.GetPage(INDEX, TYPE, query, bidSearch_sort, bidField, startPage, limitcount)
 				datas = elastic.GetPage(INDEX, TYPE, query, bidSearch_sort, bidField, startPage, limitcount)
 			} else {
 			} else {
 				log.Println(keyword, area, city, industry)
 				log.Println(keyword, area, city, industry)
-				_, _, datas = bidsearch.GetPcBidSearchData(keyword, area, city, "", stype, industry, "", "", "", "", "", "", "", 0, true, []string{"title", "detail"}, bidField, "", false, false, "", 50, "")
+				_, _, datas = bidsearch.GetPcBidSearchData(keyword, area, city, "", stype, industry, "", "", "", "", "", "", "", 0, true, []string{"title", "detail"}, bidField, "", false, false, "", limitcount, "")
 
 
 				if datas != nil && len(*datas) > limitcount {
 				if datas != nil && len(*datas) > limitcount {
 					*datas = (*datas)[0:limitcount]
 					*datas = (*datas)[0:limitcount]