- Timestamp:
- 01/05/21 03:45:09 (4 years ago)
- Branches:
- master
- Children:
- a222a43
- Parents:
- f36822a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/controller/TestController.java
rf36822a r3f5bf9e 9 9 10 10 @RestController 11 @CrossOrigin(origins = "http://localhost:3000") 11 12 @RequestMapping("/api") 12 13 public class TestController { … … 20 21 @PostMapping(path = "/login") 21 22 public AuthResponseDataPojo testPage(@RequestBody AccountLoginDataPojo body) throws ResponseStatusException { 23 24 System.out.println(body); 25 22 26 Account a1 = accountService.findUser(body.getAccount(), body.getPassword(), body.getType()); 23 27 AuthResponseDataPojo resp = new AuthResponseDataPojo();
Note:
See TracChangeset
for help on using the changeset viewer.