| | |
| | | import com.ruoyi.system.service.ICustomConfigService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import java.util.List; |
| | | import javax.annotation.Resource; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | */ |
| | | @ApiOperation("获取积分设置") |
| | | @GetMapping("/points") |
| | | public R<List<CustomConfigVO>> getPointsConfig() { |
| | | public R<PointsConfigDTO> getPointsConfig() { |
| | | return R.ok(iCustomConfigService.getPointsConfig()); |
| | | } |
| | | /** |
| | |
| | | * @return List<CustomConfigVO> |
| | | */ |
| | | @ApiOperation("获取售后设置") |
| | | @PostMapping("/get-after-sale-setting") |
| | | public R<List<CustomConfigVO>> getAfterSaleSetting() { |
| | | @GetMapping("/get-after-sale-setting") |
| | | public R<MgtAfterSaleSettingDTO> getAfterSaleSetting() { |
| | | return R.ok(iCustomConfigService.getAfterSaleSetting()); |
| | | } |
| | | } |