Roc 2 years ago
parent
commit
02e3457c57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/chart.go

+ 1 - 1
models/chart.go

@@ -26,7 +26,7 @@ func DeleteChartInfoDataRedis(bodyByte []byte) (err error) {
 
 		// 删除图表的id
 		for _, v := range list {
-			err = utils.Rc.Delete(GetChartInfoDataKey(v.ChartInfoId))
+			_ = utils.Rc.Delete(GetChartInfoDataKey(v.ChartInfoId))
 		}
 	}
 	return