提交 15d88b83 authored 作者: Matrix's avatar Matrix

增加helloController

上级 04b523b8
package com.matrix.demo.controller;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* HelloController.
*
* @author Matrix <xhyrzldf@gmail.com>
* @since 2020/9/18 at 11:29 上午
*/
@RestController
public class HelloController {
@GetMapping("/hello")
public ResponseEntity HelloWorld(){
return ResponseEntity.ok("Hello World!");
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论