Skip to content

Commit 84a3de6

Browse files
feat: 完善12306目录和内容
1 parent be99520 commit 84a3de6

5 files changed

Lines changed: 54 additions & 4 deletions

File tree

docs/.vuepress/config.js

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ module.exports = {
167167
text: '12306',
168168
items: [
169169
{text: '项目介绍', link: '/md/12306/项目介绍.md'},
170-
{text: '项目架构', items: [
171-
{text: '技术架构',link: '/md/12306/技术架构.md'}
172-
173-
]},
174170
{text: '快速开始', items: [
175171
{text: '环境搭建',link: '/md/12306/环境搭建.md'}
176172

@@ -379,6 +375,32 @@ module.exports = {
379375
]
380376
}
381377
],
378+
"/md/12306/": [
379+
{
380+
title: "项目介绍",
381+
collapsable: false,
382+
sidebarDepth: 0,
383+
children: [
384+
"项目介绍.md",
385+
]
386+
},
387+
{
388+
title: "快速开始",
389+
collapsable: false,
390+
sidebarDepth: 0,
391+
children: [
392+
"环境搭建.md",
393+
]
394+
},
395+
{
396+
title: "核心技术文档",
397+
collapsable: false,
398+
sidebarDepth: 0,
399+
children: [
400+
"如何生成分布式ID.md",
401+
]
402+
}
403+
],
382404
}
383405
}
384406
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 如何生成分布式ID
2+

docs/md/12306/技术架构.md

Whitespace-only changes.

docs/md/12306/环境搭建.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 环境搭建

docs/md/12306/项目介绍.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# 什么是12306
2+
3+
## 项目描述
4+
5+
12306铁路购票服务是与大家生活和出行相关的关键系统,包括会员、购票、订单、支付和网关等服务。
6+
7+
这个项目旨在让学习者可以快速掌握分布式系统设计的技巧,尤其适合对高并发、分布式感兴趣的同学学习。如果想深入理解和应用分布式系统的设计原则,这个项目将会是一个很好的学习资源。
8+
9+
12306 项目中包含了缓存、消息队列、分库分表、设计模式等代码,通过这些代码可以全面了解分布式系统的核心知识点。
10+
11+
为了方便大家学习,该系统提供了两种版本:
12+
13+
SpringBoot 聚合服务版本:适合测试和部署,可以直接启动 aggregation-service 聚合服务和网关服务。
14+
15+
SpringCloud 微服务版本:适合学习微服务设计,可以分别启动支付、订单、用户、购票和网关服务。
16+
17+
根据自己的学习和使用需求,选择合适的版本启动即可。微服务版本侧重学习设计,聚合服务版本侧重测试和部署。请根据场景需要,选择正确的版本进行学习和使用。
18+
19+
![业务架构图](https://img-blog.csdnimg.cn/direct/df01dc8601184ad6aa613c502426a7e6.png)
20+
21+
## 技术架构
22+
23+
24+
## 项目文档
25+

0 commit comments

Comments
 (0)