This commit is contained in:
myh 2023-11-11 20:23:05 +08:00
parent 7aed5f6ca7
commit 87c09d8572
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/permissions")
@RoleVerificationAnnotation(UserIDList = {1})
//FIXME: Ambiguous mapping. Cannot map 'permissionsController' method
public class PermissionsController {
@Resource
private PermissionsService permissionsService;

View File

@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.*;
@RoleVerificationAnnotation(UserIDList = {1})
@RestController
@RequestMapping("/roles")
//FIXME: Ambiguous mapping. Cannot map 'RolesController' method
public class RolesController {
@Resource
private RolesService rolesService;