models/locationAnalysis.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
models/locationAnalysis.go
@@ -285,8 +285,8 @@ func queryEsLocation(esClient *elasticsearch.Client, locationModel *LocationModel, documentNumbers []string) ([]*LocationRecord, error) { var buf bytes.Buffer nowTime := time.Now() startTime := nowTime.Add(-time.Duration(locationModel.Duration) * 24 * time.Hour) //nowTime := time.Now() //startTime := nowTime.Add(-time.Duration(locationModel.Duration) * 24 * time.Hour) // 构建过滤条件 var filters []map[string]interface{}