提交 cf525868 编写于 作者: 廣GG's avatar 廣GG

commit

上级 47ecf570
......@@ -10,11 +10,16 @@ import org.springframework.web.bind.annotation.RestController;
* @describe
*/
@RestController
@RequestMapping("/test")
@RequestMapping("")
public class TestController {
@GetMapping
public String index() {
return "欢迎来到我的blog首页!https://blog.csdn.net/weixin_47074044";
}
@GetMapping("/test")
public String test() {
return "欢迎来到我的blog!https://blog.csdn.net/weixin_47074044";
return "这是个测试页面!";
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册