|
@@ -28,6 +28,7 @@ public class TestController {
|
|
|
public String test(){
|
|
|
List<SysTest> list = sysTestService.list();
|
|
|
System.out.println(list);
|
|
|
+ System.out.println("this is a new operate");
|
|
|
return "test";
|
|
|
}
|
|
|
@RequestMapping("/get/{id}")
|
|
@@ -36,4 +37,9 @@ public class TestController {
|
|
|
SysUser user = sysUserService.getById(id);
|
|
|
return user.getId();
|
|
|
}
|
|
|
+
|
|
|
+ @RequestMapping("/add")
|
|
|
+ public void getUser(){
|
|
|
+ System.out.println("this is add method");
|
|
|
+ }
|
|
|
}
|