修改

parent 582b4983
...@@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@RequestMapping("/hello") @RequestMapping("/hello")
public class HelloController { public class HelloController {
@RequestMapping("/hello") @RequestMapping("/hello")
public String hello(){ public String hello(){
return "ok"; return "ok";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment