|
@@ -31,7 +31,7 @@ public class TestController {
|
|
return "test";
|
|
return "test";
|
|
}
|
|
}
|
|
@RequestMapping("/get/{id}")
|
|
@RequestMapping("/get/{id}")
|
|
- public Integer getUser(@PathVariable int id){
|
|
|
|
|
|
+ public String getUser(@PathVariable int id){
|
|
SysUser user = sysUserService.getById(id);
|
|
SysUser user = sysUserService.getById(id);
|
|
return user.getId();
|
|
return user.getId();
|
|
}
|
|
}
|