Jelajahi Sumber

推送拉数据处理

WH01243 1 tahun lalu
induk
melakukan
6e41e0245b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      jyBXSubscribe/rpc/model/push.go

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

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