Эх сурвалжийг харах

Merge branch 'eta/1.8.3' into debug

Roc 10 сар өмнө
parent
commit
8bbbe093ea
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 5 0
      services/classify.go

+ 5 - 0
services/classify.go

@@ -625,6 +625,11 @@ func GetClassifyListTreeRecursive(list []*models.ClassifyList, parentId int) []*
 		}
 	}
 
+	// 前端的JP需要我这么返回
+	if len(res) <= 0 {
+		res = nil
+	}
+
 	return res
 }