|
@@ -1,14 +1,14 @@
|
|
|
-package com.fuzamei.web;
|
|
|
-
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
-
|
|
|
-@RestController
|
|
|
-@RequestMapping(value = "/user")
|
|
|
-public class UserAction {
|
|
|
- @RequestMapping(value = "/test",method = RequestMethod.GET)
|
|
|
- public void test(){
|
|
|
- System.out.println("-----------进入test方法-------");
|
|
|
- }
|
|
|
-}
|
|
|
+package com.fuzamei.web;
|
|
|
+
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping(value = "/user")
|
|
|
+public class UserAction {
|
|
|
+ @RequestMapping(value = "/test",method = RequestMethod.GET)
|
|
|
+ public void test(){
|
|
|
+ System.out.println("-----------进入test方法反反复复-------");
|
|
|
+ }
|
|
|
+}
|