|
@@ -1,6 +1,5 @@
|
|
package com.zanxiang.game.data.serve.controller;
|
|
package com.zanxiang.game.data.serve.controller;
|
|
|
|
|
|
-import com.zanxiang.erp.security.annotation.PreAuthorize;
|
|
|
|
import com.zanxiang.game.data.serve.pojo.dto.GameServerDayDTO;
|
|
import com.zanxiang.game.data.serve.pojo.dto.GameServerDayDTO;
|
|
import com.zanxiang.game.data.serve.pojo.dto.GameServerDayTotalDTO;
|
|
import com.zanxiang.game.data.serve.pojo.dto.GameServerDayTotalDTO;
|
|
import com.zanxiang.game.data.serve.pojo.vo.GameServerDayTotalVO;
|
|
import com.zanxiang.game.data.serve.pojo.vo.GameServerDayTotalVO;
|
|
@@ -32,14 +31,14 @@ public class AdsGameServerController {
|
|
private IGameServerService gameServerService;
|
|
private IGameServerService gameServerService;
|
|
|
|
|
|
@ApiOperation(value = "游戏区服数据")
|
|
@ApiOperation(value = "游戏区服数据")
|
|
- @PreAuthorize(permissionKey = "gameServer:adsGameServerDay:day")
|
|
|
|
|
|
+ //@PreAuthorize(permissionKey = "gameServer:adsGameServerDay:day")
|
|
@PostMapping("/day")
|
|
@PostMapping("/day")
|
|
public ResultVO<Page<GameServerDayVO>> getGameServerDataDay(@RequestBody GameServerDayDTO dto) {
|
|
public ResultVO<Page<GameServerDayVO>> getGameServerDataDay(@RequestBody GameServerDayDTO dto) {
|
|
return ResultVO.ok(gameServerService.getGameServerDataDay(dto));
|
|
return ResultVO.ok(gameServerService.getGameServerDataDay(dto));
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "游戏区服数据总计一栏")
|
|
@ApiOperation(value = "游戏区服数据总计一栏")
|
|
- @PreAuthorize(permissionKey = "gameServer:adsGameServerDay:dayTotal")
|
|
|
|
|
|
+ //@PreAuthorize(permissionKey = "gameServer:adsGameServerDay:dayTotal")
|
|
@PostMapping("/day/total")
|
|
@PostMapping("/day/total")
|
|
public ResultVO<GameServerDayTotalVO> getGameServerDataDayTotal(@RequestBody GameServerDayTotalDTO dto) {
|
|
public ResultVO<GameServerDayTotalVO> getGameServerDataDayTotal(@RequestBody GameServerDayTotalDTO dto) {
|
|
return ResultVO.ok(gameServerService.getGameServerDataDayTotal(dto));
|
|
return ResultVO.ok(gameServerService.getGameServerDataDayTotal(dto));
|