yegang 2 anos atrás
pai
commit
2840716f94

+ 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();
     }