mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-14 06:03:52 +08:00
格式化了下代码
This commit is contained in:
@@ -4,7 +4,7 @@ import org.springframework.boot.SpringApplication;
|
|||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Spring Boot应用启动类
|
* Spring Boot 应用启动类
|
||||||
*
|
*
|
||||||
* Created by bysocket on 16/4/26.
|
* Created by bysocket on 16/4/26.
|
||||||
*/
|
*/
|
||||||
@@ -14,7 +14,7 @@ public class Application {
|
|||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
// 程序启动入口
|
// 程序启动入口
|
||||||
// 启动嵌入式的Tomcat并初始化Spring环境及其各Spring组件
|
// 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
|
||||||
SpringApplication.run(Application.class,args);
|
SpringApplication.run(Application.class,args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Spring Boot HelloWorld案例
|
* Spring Boot HelloWorld 案例
|
||||||
*
|
*
|
||||||
* Created by bysocket on 16/4/26.
|
* Created by bysocket on 16/4/26.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user