| | |
| | | */ |
| | | @PostMapping("/setPrice") |
| | | @PreAuthorize("@ss.hasPermi('system:vip:list')") |
| | | @ApiOperation(value = "会员管理-设置价格", tags = "系统后台-订单管理") |
| | | @ApiOperation(value = "会员管理-设置价格", tags = "系统后台-会员管理") |
| | | public R setPrice(@RequestBody @Valid SetPriceDTO setPriceDTO) { |
| | | vipSettingService.setPrice(setPriceDTO); |
| | | return R.ok(); |
| | |
| | | /** |
| | | * 查看详情 |
| | | */ |
| | | @PostMapping("/getPrice") |
| | | @PreAuthorize("@ss.hasPermi('system:vip:list')") |
| | | @ApiOperation(value = "会员管理-获取会员配置", tags = "系统后台-会员管理") |
| | | public R<SetPriceDTO> getPrice() { |
| | | |
| | | return R.ok(vipSettingService.getPrice()); |
| | | } |
| | | |
| | | /** |
| | | * 查看详情 |
| | | */ |
| | | @GetMapping("/getVipList") |
| | | @PreAuthorize("@ss.hasPermi('system:vip:list')") |
| | | @ApiOperation(value = "会员管理-列表", tags = "系统后台-订单管理") |
| | | @ApiOperation(value = "会员管理-列表", tags = "系统后台-会员管理") |
| | | public R<List<VipInfoListVO>> getVipList() { |
| | | return R.ok(vipSettingService.getVipInfoList()); |
| | | } |