1 parent 307a39d commit b5aee97Copy full SHA for b5aee97
1 file changed
fcommons/fcommons-rest/README.md
@@ -31,13 +31,13 @@ import org.springframework.web.bind.annotation.RequestMapping;
31
import org.springframework.web.bind.annotation.RestController;
32
33
@RestController
34
-@RequestMapping("/account")
35
-public class AccountController extends FRestController {
+@RequestMapping("/user")
+public class UserController extends FRestController {
36
37
@GetMapping("/{id}")
38
- public ResponseEntity<AwsAccount> getAccountById(@PathVariable("id") String accountId) {
39
- AwsAccount account = ...;
40
- return this.success(account);
+ public ResponseEntity<User> getUserById(@PathVariable("id") String userId) {
+ User user = ...;
+ return this.success(user);
41
}
42
43
```
0 commit comments