wzp
2022-11-21 c39e8bafd3674c9b9de49d12df87609c31b202a3
web/web/GwProduct.ashx
@@ -265,7 +265,7 @@
        int ctGroupid = 0;
        int price = 0;
        int givingNum = 0;
        string parentId = context.GetString("parentId", "");
        string path = "";
        if (string.IsNullOrEmpty(parentId) )
@@ -453,9 +453,16 @@
        int ctGroupid = 0;
        int price = 0;
        int givingNum = 0;
        string parentId = context.GetString("parentId", "");
        string path = "";
        if (id == parentId)
        {
            throw new ArgumentException("父级分类id不能选当前类别!请重新选择");
        }
        if (string.IsNullOrEmpty(parentId) )
        {
            path = "0";