|
@@ -36,7 +36,7 @@ public class GameDataController {
|
|
|
private IGameDataService gameDataService;
|
|
|
|
|
|
@ApiOperation(value = "游戏每日数据")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:adsGameDay:day")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:adsGameDay:day")
|
|
|
@PostMapping("/day")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GameDataDayVO.class)})
|
|
|
public ResultVO<Page<GameDataDayVO>> getGameDataDay(@RequestBody GameDataDayDTO dto) {
|
|
@@ -44,7 +44,7 @@ public class GameDataController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "游戏每日数据总计")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:adsGameDay:dayTotal")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:adsGameDay:dayTotal")
|
|
|
@PostMapping("/day/total")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GameDataDayVO.class)})
|
|
|
public ResultVO<GameDataDayTotalVO> getGameDataDay(@RequestBody GameDataDayTotalDTO dto) {
|
|
@@ -58,7 +58,7 @@ public class GameDataController {
|
|
|
return ResultVO.ok(gameDataService.getH5Recharge(dto));
|
|
|
}
|
|
|
@ApiOperation(value = "游戏总数据")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:adsGameDay:total")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:adsGameDay:total")
|
|
|
@PostMapping("/total")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = GameDataTotalVO.class)})
|
|
|
public ResultVO<Page<GameDataTotalVO>> getGameDataTotal(@RequestBody GameDataTotalDTO dto) {
|
|
@@ -73,7 +73,7 @@ public class GameDataController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "游戏每日复充数据")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:adsGameDay:again")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:adsGameDay:again")
|
|
|
@PostMapping("/again")
|
|
|
public ResultVO<Map<LocalDate, List<GameDataAgainDayVO>>> getGameDataAgainDay(@RequestBody GameDataAgainDayDTO dto) throws Exception {
|
|
|
return ResultVO.ok(gameDataService.getGameDataAgainDay(dto));
|