Commit 5c170267 authored by 卢浩元's avatar 卢浩元

Add Hello

parent fe2d20a8
package com.example.demo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author luhaoyuan
* @date 2018/9/27
* @desc
*/
@RestController
public class HelloController {
@GetMapping(value = "/")
public String sayHello() {
return "Hello, World";
}
}
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