From 9bf9c64da2f0babb3313ba6b6b27c2f15bf62592 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期二, 11 二月 2025 11:04:58 +0800
Subject: [PATCH] 完善模型参数,修复bug

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

diff --git a/models/locationAnalysis.go b/models/locationAnalysis.go
index db726d9..62ff299 100644
--- a/models/locationAnalysis.go
+++ b/models/locationAnalysis.go
@@ -230,7 +230,7 @@
 	if err != nil {
 		return err
 	}
-	logger.Debugf("records %s last result %s", m.Task.Name, records)
+	logger.Debugf("records %s last result %+v", m.Task.Name, records)
 	domains, err := domainToLocation(records)
 	if err != nil {
 		return err
@@ -402,8 +402,8 @@
 											},
 											"picDate": map[string]interface{}{ // 鏂板鎸� picDate 鑱氬悎
 												"date_histogram": map[string]interface{}{
-													"field": "picDate",
-													//"interval":  "1d",     // 鎸夊ぉ鑱氬悎
+													"field":    "picDate",
+													"interval": "1s", // 鎸夊ぉ鑱氬悎
 													//"time_zone": "+08:00", // 璁剧疆鏃跺尯
 												},
 											},

--
Gitblit v1.8.0