yegang 2 年之前
父節點
當前提交
2840716f94
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
     }