ziwen 2 年之前
父节点
当前提交
b367892ff6
共有 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
 	}()
 	todayStr := utils.GetToday("20060102")
-	key := "admin:home:incomeList:" + todayStr
+	key := "admin:home:fmsIncomeList:" + todayStr
 
 	redisJsonData, redisErr := global.Redis.Get(context.TODO(), key).Result()
 	if redisErr != nil {