Skip to content

Commit b5aee97

Browse files
authored
Update README.md
1 parent 307a39d commit b5aee97

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

fcommons/fcommons-rest/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ import org.springframework.web.bind.annotation.RequestMapping;
3131
import org.springframework.web.bind.annotation.RestController;
3232

3333
@RestController
34-
@RequestMapping("/account")
35-
public class AccountController extends FRestController {
34+
@RequestMapping("/user")
35+
public class UserController extends FRestController {
3636

3737
@GetMapping("/{id}")
38-
public ResponseEntity<AwsAccount> getAccountById(@PathVariable("id") String accountId) {
39-
AwsAccount account = ...;
40-
return this.success(account);
38+
public ResponseEntity<User> getUserById(@PathVariable("id") String userId) {
39+
User user = ...;
40+
return this.success(user);
4141
}
4242
}
4343
```

0 commit comments

Comments
 (0)