Browse Source

推送时间修改

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

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

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