| | |
| | | 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.*; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import javax.annotation.Resource; |
| | | import javax.validation.Valid; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | */ |
| | | @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(); |
| | | } |
| | | } |