ziwen 2 лет назад
Родитель
Сommit
25a5e18b83
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      controller/statistic.go

+ 1 - 1
controller/statistic.go

@@ -47,7 +47,7 @@ func getIncomeList(ch chan models.IncomeChartResp) (incomeChart models.IncomeCha
 		ch <- incomeChart
 		ch <- incomeChart
 	}()
 	}()
 	todayStr := utils.GetToday("20060102")
 	todayStr := utils.GetToday("20060102")
-	key := "admin:home:incomeList:" + todayStr
+	key := "admin:home:fmsIncomeList:" + todayStr
 
 
 	redisJsonData, redisErr := global.Redis.Get(context.TODO(), key).Result()
 	redisJsonData, redisErr := global.Redis.Get(context.TODO(), key).Result()
 	if redisErr != nil {
 	if redisErr != nil {