web/web/GwProduct.ashx
@@ -456,6 +456,13 @@ string parentId = context.GetString("parentId", ""); string path = ""; if (id == parentId) { throw new ArgumentException("父级分类id不能选当前类别!请重新选择"); } if (string.IsNullOrEmpty(parentId) ) { path = "0";