|
@@ -421,7 +421,7 @@ func UpdateSpiderFlow() {
|
|
|
arr := []map[string]interface{}{}
|
|
|
SpiderFlowMap.Range(func(key, temp interface{}) bool {
|
|
|
date := strings.Split(key.(string), "+")
|
|
|
- if len(date) == 2 && date[0] != Today { //统计非当天的
|
|
|
+ if len(date) == 2 && date[0] == Today { //统计非当天的
|
|
|
if sfMap, ok := temp.(*SpiderFlow); ok {
|
|
|
arr = append(arr, map[string]interface{}{
|
|
|
"spidercode": date[1],
|