提交
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package main.java.com.example.mini_program.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class HelloController {
|
||||
|
||||
@GetMapping("/hello")
|
||||
public String hello() {
|
||||
return "Hello, Spring Boot!";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user