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