Last change
on this file since ce6ad22 was ce6ad22, checked in by DavidTrajkovski <davidtrajkovski11@…>, 3 years ago |
v1 initial prototype
|
-
Property mode
set to
100644
|
File size:
726 bytes
|
Rev | Line | |
---|
[ce6ad22] | 1 | //package parkup.configs;
|
---|
| 2 | //
|
---|
| 3 | //import org.springframework.web.bind.annotation.*;
|
---|
| 4 | //
|
---|
| 5 | //@RestController
|
---|
| 6 | //public class RegistrationController {
|
---|
| 7 | //
|
---|
| 8 | // private final RegistrationService registrationService;
|
---|
| 9 | //
|
---|
| 10 | // public RegistrationController(RegistrationService registrationService) {
|
---|
| 11 | // this.registrationService = registrationService;
|
---|
| 12 | // }
|
---|
| 13 | //
|
---|
| 14 | // @PostMapping(path = "/registration")
|
---|
| 15 | // public String register(@RequestBody RegistrationRequest request) {
|
---|
| 16 | // return registrationService.register(request);
|
---|
| 17 | // }
|
---|
| 18 | //
|
---|
| 19 | // @GetMapping(path = "/registration/confirm")
|
---|
| 20 | // public String confirm(@RequestParam("token") String token) {
|
---|
| 21 | // return registrationService.confirmToken(token);
|
---|
| 22 | // }
|
---|
| 23 | //} |
---|
Note:
See
TracBrowser
for help on using the repository browser.