From eda8855695943842250b7c70a58054d1b9440eec Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 11 二月 2025 11:50:38 +0800 Subject: [PATCH] 完善昼伏夜出事件说明 --- 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