提交 e49094e3 authored 作者: 马磊's avatar 马磊

feat(init): hello jenkins

1.hello jenkins References: N/A
上级 06f56e86
...@@ -6,12 +6,12 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -6,12 +6,12 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@RequestMapping("/v") @RequestMapping("/v1")
public class DemoController { public class DemoController {
@GetMapping("/v1") @GetMapping("/hello")
public String HelloWord() { public String HelloWord() {
return "hello"; return "Hello Jenkins";
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论