| | |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.system.api.domain.CustomConfig; |
| | | import com.ruoyi.system.domain.dto.MgtAfterSaleSettingDTO; |
| | | import com.ruoyi.system.domain.dto.PointsConfigDTO; |
| | | import com.ruoyi.system.domain.vo.CustomConfigVO; |
| | | import com.ruoyi.system.service.ICustomConfigService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import java.util.List; |
| | | import javax.annotation.Resource; |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/custom-config") |
| | | @Api(value = "系统配置接口", tags = "系统配置接口") |
| | | public class CustomConfigController { |
| | | @Resource |
| | | private ICustomConfigService iCustomConfigService; |
| | |
| | | iCustomConfigService.saveOrderDescription(description); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "售后设置") |
| | | @PostMapping("/save-after-sale-setting") |
| | | public R<?> saveAfterSaleSetting(@Validated @RequestBody MgtAfterSaleSettingDTO dto) { |
| | | iCustomConfigService.saveAfterSaleSetting(dto); |
| | | return R.ok(); |
| | | } |
| | | } |