hjl
2024-06-17 e11362ca4849da567a77d8b5e5be510df9fb0741
ruoyi-service/ruoyi-goods/src/main/java/com/ruoyi/goods/service/impl/RecipientServiceImpl.java
@@ -27,7 +27,7 @@
    @Override
    @Transactional(rollbackFor = Exception.class)
    public String addressSaveOrUpdate(Recipient recipient) {
    public Boolean addressSaveOrUpdate(Recipient recipient) {
        boolean result;
        // 主键ID为空,新增收货地址
        if (null == recipient.getId()) {
@@ -36,6 +36,6 @@
        } else {
            result = this.updateById(recipient);
        }
        return result ? "操作成功!" : "操作失败!";
        return result;
    }
}