1
luofl
2025-03-10 74cf1cc5cf920c77a4a217a2ce2857103743fa9d
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/CustomConfigController.java
@@ -8,6 +8,7 @@
import com.ruoyi.system.api.domain.dto.MgtAfterSaleSettingDTO;
import com.ruoyi.system.domain.dto.PointsConfigDTO;
import com.ruoyi.system.domain.vo.CustomConfigVO;
import com.ruoyi.system.domain.vo.RefundOfDepositVO;
import com.ruoyi.system.domain.vo.WishSettingVO;
import com.ruoyi.system.service.ICustomConfigService;
import io.swagger.annotations.*;
@@ -195,11 +196,8 @@
     */
    @ApiOperation(value = "保存保证金退还设置")
    @PostMapping("/save-refund-of-deposit")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "refundOfDeposit", value = "保证金退还文案", required = true)})
    public R<?> saveRefundOfDeposit(
            @RequestParam(value = "refundOfDeposit") String refundOfDeposit) {
        iCustomConfigService.saveRefundOfDeposit(refundOfDeposit);
    public R<?> saveRefundOfDeposit(@RequestBody RefundOfDepositVO refundOfDepositVO) {
        iCustomConfigService.saveRefundOfDeposit(refundOfDepositVO.getRefundOfDeposit());
        return R.ok();
    }
}