fix(aihr): make dashboard access explicit
This commit is contained in:
+2
@@ -1,5 +1,6 @@
|
||||
package org.dromara.aihr.controller;
|
||||
|
||||
import cn.dev33.satoken.annotation.SaCheckLogin;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.dromara.aihr.domain.AihrDashboardDto.OverviewResponse;
|
||||
import org.dromara.aihr.service.AihrDashboardService;
|
||||
@@ -11,6 +12,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@RequiredArgsConstructor
|
||||
@RestController
|
||||
@RequestMapping("/api/aihr/dashboard")
|
||||
@SaCheckLogin
|
||||
public class AihrDashboardController {
|
||||
|
||||
private final AihrDashboardService dashboardService;
|
||||
|
||||
Reference in New Issue
Block a user