chenbiao il y a 3 ans
Parent
commit
16dba0f85e

+ 0 - 5
netflix-web/src/main/java/com/cyksj/web/controller/manage/goods/CmsGoodsDonSkuController.java

@@ -136,11 +136,6 @@ public class CmsGoodsDonSkuController {
             throw new RuntimeException("该商品未设置总规格, 请设置总规格.");
         }
 
-        List<ReqGoodsSkuSpec> specs = insert.getSpecs();
-        if (null == specs || specs.isEmpty()) {
-            throw new RuntimeException("缺少商品总规格.");
-        }
-
         List<ReqGoodsSkuInsert.Sku> skus = insert.getSkus();
         if (null == skus || skus.isEmpty()) {
             throw new RuntimeException("参数错误.");