Browse Source

this is a new operate 13:40

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

+ 6 - 0
src/main/java/com/sw/controller/TestController.java

@@ -37,4 +37,10 @@ public class TestController {
         SysUser user = sysUserService.getById(id);
         SysUser user = sysUserService.getById(id);
         return user.getId();
         return user.getId();
     }
     }
+
+    @RequestMapping("/get/{id}")
+    public void add(@PathVariable int id){
+        System.out.println("this is a add");
+    }
+
 }
 }