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