Roc 2 年之前
父节点
当前提交
02e3457c57
共有 1 个文件被更改,包括 1 次插入1 次删除
  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