fix
Helius
2024-01-30 7eb522243fb5dce2b7268fdf0927409d5a3b0d70
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("邮费模板不能为空");
            }
        }
        }
        // 付费商品