Roc 2 meses atrás
pai
commit
14845e2dd0
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      services/data/chart_classify.go

+ 1 - 1
services/data/chart_classify.go

@@ -292,7 +292,7 @@ func AddChartClassify(chartClassifyName string, parentId, level, source int, lan
 	}
 
 	// 更改分类id完整路径path
-	updateCols := []string{"ClassifyIdPath"}
+	updateCols := []string{"ChartClassifyIdPath"}
 	classifyInfo.ChartClassifyIdPath = fmt.Sprint(classifyIdPath, classifyInfo.ChartClassifyId)
 	if parentId == 0 { //一级目录的rootId等于自己本身
 		classifyInfo.RootId = classifyInfo.ChartClassifyId