From e0ac037f3d30e5fe50c884789eef97746a9e990f Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期一, 10 二月 2025 10:37:15 +0800
Subject: [PATCH] 测试 场景分析 bug

---
 models/locationAnalysis.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/models/locationAnalysis.go b/models/locationAnalysis.go
index 891eef6..6e7fdc0 100644
--- a/models/locationAnalysis.go
+++ b/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{}

--
Gitblit v1.8.0