Pārlūkot izejas kodu

this is a new operate 13:40

yegang 2 gadi atpakaļ
vecāks
revīzija
7537932099
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  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);
         return user.getId();
     }
+
+    @RequestMapping("/get/{id}")
+    public void add(@PathVariable int id){
+        System.out.println("this is a add");
+    }
+
 }