|
@@ -237,4 +237,11 @@ public class ChoiceController {
|
|
|
return ResultVO.ok(payBoxService.payBoxChoiceList());
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "策略类型选择列表")
|
|
|
+ @GetMapping(value = "/game/pay/strategy/list")
|
|
|
+ @PreAuthorize(permissionKey = "sdk:gamePayStrategyChoice:list")
|
|
|
+ @ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GamePayStrategyChoiceVO.class, responseContainer = "list")})
|
|
|
+ public ResultVO<List<GamePayStrategyChoiceVO>> gamePayStrategyChoiceList() {
|
|
|
+ return ResultVO.ok(BeanUtils.copyList(Arrays.asList(GameStrategyTypeEnum.values()), GamePayStrategyChoiceVO.class));
|
|
|
+ }
|
|
|
}
|