Explorar o código

:feat:1、游戏每月留存 2、游戏每月留存总计

zhangxianyu hai 3 meses
pai
achega
d5996cf805

+ 2 - 2
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/controller/GameDataController.java

@@ -140,14 +140,14 @@ public class GameDataController {
     }
 
     @ApiOperation(value = "留存数据-月")
-    @PreAuthorize(permissionKey = "gameData:activeDay:activeMonth")
+    @PreAuthorize(permissionKey = "gameData:activeData:activeMonth")
     @PostMapping("/activeData/month")
     public ResultVO<Page<ActiveDataMonthVO>> getActiveDataMonth(@RequestBody ActiveDataDayDTO dto) {
         return ResultVO.ok(activeDataService.getActiveDataMonth(dto));
     }
 
     @ApiOperation(value = "留存数据-月总计")
-    @PreAuthorize(permissionKey = "gameData:activeDay:activeMonthTotal")
+    @PreAuthorize(permissionKey = "gameData:activeData:activeMonthTotal")
     @PostMapping("/activeData/monthTotal")
     public ResultVO<ActiveDataMonthTotalVO> getActiveMonthDataTotal(@RequestBody ActiveDataTotalDTO dto) {
         return ResultVO.ok(activeDataService.getActiveMonthDataTotal(dto));