Browse Source

智慧交流-归属地统计 代码优化

sixian 2 years ago
parent
commit
4615a7d885
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/operation/service/captureAreaService.go

+ 1 - 1
app/operation/service/captureAreaService.go

@@ -24,7 +24,7 @@ func (s captureAreaService) GetAreaList(tenantId int, req model.RequestCaptureFi
 		topArr = append(topArr, area.Name)
 	}
 
-	//将所有省份或城市 数据组装成 map {time:{Name:"xxx", Value:11}}
+	//将所有省份或城市 数据组装成 map {time:[{Name:"xxx", Value:11}]}
 	mdata := make(map[string][]model.TmpCapture)
 	for _, datum := range forData {
 		time := datum.Time