|
@@ -64,7 +64,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "vip等级选择列表")
|
|
|
@GetMapping(value = "/vip/level/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:choiceVipLevel:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:choiceVipLevel:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = VipLevelChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<VipLevelChoiceVO>> vipLevelChoiceList() {
|
|
|
return ResultVO.ok(Arrays.stream(VipLevelEnum.values())
|
|
@@ -74,7 +74,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "操作系统选择列表")
|
|
|
@GetMapping(value = "/os/type/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:choiceOsType:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:choiceOsType:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = SystemChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<SystemChoiceVO>> systemChoiceList() {
|
|
|
return ResultVO.ok(Arrays.stream(OsEnum.values())
|
|
@@ -84,7 +84,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "cp选择列表")
|
|
|
@GetMapping(value = "/cp/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:choiceCp:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:choiceCp:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = CpChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<CpChoiceVO>> cpChoiceList() {
|
|
|
return ResultVO.ok(cpService.choiceList());
|
|
@@ -92,7 +92,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "游戏选择列表")
|
|
|
@GetMapping(value = "/game/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:gameChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:gameChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GameChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<GameChoiceVO>> gameChoiceList() {
|
|
|
return ResultVO.ok(gameService.choiceList());
|
|
@@ -100,7 +100,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "游戏应用类型选择列表")
|
|
|
@GetMapping(value = "/game/category/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:gameCategoryChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:gameCategoryChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GameCategoryChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<GameCategoryChoiceVO>> gameCategoryChoiceList() {
|
|
|
return ResultVO.ok(Arrays.stream(GameCategoryEnum.values())
|
|
@@ -110,7 +110,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "游戏分类标签选择列表")
|
|
|
@GetMapping(value = "/game/tags/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:gameTagsChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:gameTagsChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GameTagChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<GameTagChoiceVO>> gameTagsChoiceList() {
|
|
|
return ResultVO.ok(gameTagService.gameTagsChoiceList());
|
|
@@ -118,7 +118,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "推广渠道选择列表")
|
|
|
@GetMapping(value = "/agent/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:agentChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:agentChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = AgentChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<AgentChoiceVO>> agentChoiceList() {
|
|
|
return ResultVO.ok(agentService.agentChoiceList());
|
|
@@ -126,7 +126,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "推广渠道账号选择列表")
|
|
|
@GetMapping(value = "/agent/account/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:agentAccountChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:agentAccountChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = AgentAccountChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<AgentAccountChoiceVO>> agentAccountChoiceList() {
|
|
|
return ResultVO.ok(agentService.agentAccountChoiceList());
|
|
@@ -134,7 +134,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "支付方式选择列表")
|
|
|
@GetMapping(value = "/pay/way/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:payWayChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:payWayChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = PayWayChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<PayWayChoiceVO>> payWayChoiceList() {
|
|
|
return ResultVO.ok(payWayService.payWayChoiceList());
|
|
@@ -142,7 +142,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "支付类型选择列表")
|
|
|
@GetMapping(value = "/pay/device/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:payDeviceChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:payDeviceChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = PayDeviceChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<PayDeviceChoiceVO>> payDeviceChoiceList() {
|
|
|
return ResultVO.ok(payDeviceService.payDeviceChoiceList());
|
|
@@ -150,7 +150,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "商户选择列表")
|
|
|
@GetMapping(value = "/pay/merchant/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:payMerchantChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:payMerchantChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = PayMerchantChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<PayMerchantChoiceVO>> payMerchantChoiceList() {
|
|
|
return ResultVO.ok(payMerchantService.payMerchantChoiceList());
|
|
@@ -158,7 +158,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "支付应用类型选择列表")
|
|
|
@GetMapping(value = "/application/type/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:payApplicationTypeChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:payApplicationTypeChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = ApplicationTypeChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<ApplicationTypeChoiceVO>> applicationTypeChoiceList() {
|
|
|
return ResultVO.ok(Arrays.stream(PayApplicationTypeEnum.values())
|
|
@@ -168,7 +168,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "支付应用选择列表")
|
|
|
@GetMapping(value = "/pay/application/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:payApplicationChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:payApplicationChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = PayApplicationChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<PayApplicationChoiceVO>> payApplicationChoiceList() {
|
|
|
return ResultVO.ok(payApplicationService.payApplicationChoiceList());
|
|
@@ -176,7 +176,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "支付盒子选择列表")
|
|
|
@GetMapping(value = "/pay/box/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:payBoxChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:payBoxChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = PayBoxChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<PayBoxChoiceVO>> payBoxChoiceList() {
|
|
|
return ResultVO.ok(payBoxService.payBoxChoiceList());
|
|
@@ -184,7 +184,7 @@ public class ChoiceController {
|
|
|
|
|
|
@ApiOperation(value = "策略类型选择列表")
|
|
|
@GetMapping(value = "/game/pay/strategy/list")
|
|
|
- @PreAuthorize(permissionKey = "sdk:gamePayStrategyChoice:list")
|
|
|
+ @PreAuthorize(permissionKey = "manage:gamePayStrategyChoice:list")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GamePayStrategyChoiceVO.class, responseContainer = "list")})
|
|
|
public ResultVO<List<GamePayStrategyChoiceVO>> gamePayStrategyChoiceList() {
|
|
|
return ResultVO.ok(Arrays.stream(GameStrategyTypeEnum.values())
|