yegang 2 years ago
parent
commit
2840716f94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/sw/controller/TestController.java

+ 1 - 1
src/main/java/com/sw/controller/TestController.java

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