| | |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @RequiresPermissions(value = {"/exchangeCode/update"}, logical = Logical.OR) |
| | | @PostMapping("/updateStatus") |
| | | @ApiOperation(value = "更新兑换码卡包启用状态", tags = {"管理后台-兑换码管理"}) |
| | | @Log(title = "【兑换码管理】更新启用状态", businessType = BusinessType.UPDATE, operatorType = OperatorType.MANAGE) |
| | | public AjaxResult<Void> updateStatus(@RequestBody ExchangeCodePackageSaveDTO dto) { |
| | | exchangeCodePackageService.updatePackageStatus(dto.getId(), dto.getStatus()); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @RequiresPermissions(value = {"/exchangeCode/del"}, logical = Logical.OR) |
| | | @GetMapping("/delete") |
| | | @ApiOperation(value = "删除兑换码卡包", tags = {"管理后台-兑换码管理"}) |