src/main/java/cc/mrbird/febs/mall/service/impl/AdminMallGoodsService.java
@@ -73,6 +73,7 @@ return new FebsResponse().fail().message("商品编号不能重复"); } Integer carriageType = addMallGoodsDto.getCarriageType(); if (addMallGoodsDto.getGoodsType() == 1) { if(1 == carriageType){ if(ObjectUtil.isEmpty(addMallGoodsDto.getCarriageAmount()) || BigDecimal.ZERO.compareTo(addMallGoodsDto.getCarriageAmount()) > 0){ @@ -85,6 +86,7 @@ return new FebsResponse().fail().message("邮费模板不能为空"); } } } // 付费商品