浏览代码

this is a new operate 13:40

yegang 2 年之前
父节点
当前提交
7537932099
共有 1 个文件被更改,包括 6 次插入0 次删除
  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");
+    }
+
 }