This commit is contained in:
@@ -13,7 +13,7 @@ public class UserController {
|
||||
* 查询用户详情 — 含多种参数类型,便于测试增删改检测。
|
||||
*/
|
||||
@GetMapping("/{id}")
|
||||
public String getUser(@PathVariable("id") String id, @RequestParam(value = "test", required = false, defaultValue = "false") Boolean includeDisabled) {
|
||||
public String getUser(@PathVariable("id") Long id, @RequestParam(value = "includeDisabled", required = false, defaultValue = "false") Boolean includeDisabled) {
|
||||
return "ok";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user