Last active
November 3, 2020 13:45
[AOP-ModuleSecurity] PeopleController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RestController | |
@RequestMapping("/api/v1/people") | |
public class PeopleController implements ModuleSecurity { | |
@GetMapping | |
public String getPeople() { return "People "; } | |
@Override | |
public ModuleEnum getModule() { return ModuleEnum.MODULE_PEOPLE; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment