Browse Source

es查询数据周期修改

WH01243 2 years ago
parent
commit
52eafdd171
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jyBXSubscribe/rpc/model/push.go

+ 2 - 2
jyBXSubscribe/rpc/model/push.go

@@ -914,8 +914,8 @@ func (s *subscribePush) getDefaultDatasSQL(bsp *ViewCondition) (str string) {
 
 
 	bools := []string{}
 	bools := []string{}
 	musts := []string{}
 	musts := []string{}
-	//发布时间最新7天
-	musts = append(musts, fmt.Sprintf(bidTime, time.Now().AddDate(0, 0, -7).Unix()))
+	//发布时间最新7天(正式环境需要修改)
+	musts = append(musts, fmt.Sprintf(bidTime, time.Now().AddDate(0, 0, -365*4).Unix()))
 	//省份
 	//省份
 	areaCity := []string{}
 	areaCity := []string{}
 	if len(bsp.Area) > 0 {
 	if len(bsp.Area) > 0 {