package com.example.demo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloController {
@RequestMapping("/Hello Spring Boot!")
public String hello(){
System.out.println("hello springboot!");
return "Hello Spring Boot!";
}
}
还没弄完,接着弄