refactor: demo 目录拆分为 app-simple 与 plateform,同步更新 README 路径
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# spring-war17 示例
|
||||
|
||||
演示如何用 `compile-maven3-jdk17` 打出 **war 包**,再部署到外置 Tomcat 10.1 运行。与
|
||||
[`demo/springboot-jar17`](../springboot-jar17/README.md) 对照:应用代码几乎一样,区别只在打包方式与运行容器。
|
||||
[`demo/app-simple/springboot-jar17`](../springboot-jar17/README.md) 对照:应用代码几乎一样,区别只在打包方式与运行容器。
|
||||
|
||||
| 阶段 | 镜像 | 说明 |
|
||||
| --- | --- | --- |
|
||||
+1
-1
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 运行时信息接口。与 demo/springboot-jar17 里的同名类保持一致的输出结构,方便对比 jar 与 war 两种打包方式。
|
||||
* 运行时信息接口。与 demo/app-simple/springboot-jar17 里的同名类保持一致的输出结构,方便对比 jar 与 war 两种打包方式。
|
||||
*/
|
||||
@RestController
|
||||
public class DemoController {
|
||||
Reference in New Issue
Block a user