zhaoqingang
2025-02-10 158e298e9e6bf34c63117be8090554be8cfe2e82
models/locationAnalysis.go
@@ -466,7 +466,7 @@
                        if floorBuckets, ok := locationBucket.(map[string]interface{})["floor"].(map[string]interface{})["buckets"].([]interface{}); ok {
                           for _, floorBucket := range floorBuckets {
                              floor := floorBucket.(map[string]interface{})["key"].(string)
                              //logger.Debugf("floor--------------------------------------- %s -----%s ", floor, floorBucket)
                              logger.Debugf("floor--------------------------------------- %s -----%s ", floor, floorBucket)
                              appearCount := floorBucket.(map[string]interface{})["doc_count"].(float64)
                              //logger.Debugf("appearCount--------------------------------------- %s- --", appearCount)
                              // 构建 LocationRecord 结构体