|
@@ -26,28 +26,28 @@ public class AccountAgentDayController {
|
|
|
private IAccountAgentDayService accountAgentDayService;
|
|
|
|
|
|
@ApiOperation(value = "推广每日数据")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:promote:day")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:promote:day")
|
|
|
@PostMapping("/day")
|
|
|
public ResultVO<Page<GamePromoteDayVO>> accountAgentDay(@RequestBody GamePromoteDayDTO dto) {
|
|
|
return ResultVO.ok(accountAgentDayService.accountAgentDay(dto));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "推广每日数据总计")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:promote:dayTotal")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:promote:dayTotal")
|
|
|
@PostMapping("/day/total")
|
|
|
public ResultVO<GamePromoteDayTotalVO> accountAgentDayTotal(@RequestBody GamePromoteDayTotalDTO dto) {
|
|
|
return ResultVO.ok(accountAgentDayService.accountAgentDayTotal(dto));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "推广总数据")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:promote:total")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:promote:total")
|
|
|
@PostMapping("/total")
|
|
|
public ResultVO<Page<GamePromoteTotalVO>> accountAgentTotal(@RequestBody GamePromoteTotalDTO dto) {
|
|
|
return ResultVO.ok(accountAgentDayService.accountAgentTotal(dto));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "推广总数据总计")
|
|
|
- //@PreAuthorize(permissionKey = "gameData:promote:totalSum")
|
|
|
+ @PreAuthorize(permissionKey = "gameData:promote:totalSum")
|
|
|
@PostMapping("/total/sum")
|
|
|
public ResultVO<GamePromoteTotalSumVO> accountAgentTotalSum(@RequestBody GamePromoteTotalSumDTO dto) {
|
|
|
return ResultVO.ok(accountAgentDayService.accountAgentTotalSum(dto));
|