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

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

@@ -38,5 +38,8 @@ public class TestController {
         return user.getId();
     }
 
-
+    @RequestMapping("/add")
+    public void getUser(){
+        System.out.println("this is add method");
+    }
 }