Skip to content

Commit c14f457

Browse files
committed
update docs
1 parent 3e26b1d commit c14f457

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

docs/.vuepress/components/SponsorHome.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<section v-if="shouldShowSponsor(homeSponsor)" id="special-spsr">
33
<span>特别赞助商</span>
44
<a :href="homeSponsor.href" target="_blank">
5-
<img :alt="homeSponsor.alt" :src="homeSponsor.link" width="121" />
5+
<img :alt="homeSponsor.alt" :src="homeSponsor.link" width="208" />
66
</a>
77
<span>fba 官方合作伙伴</span>
88
</section>
@@ -19,7 +19,6 @@ import { homeSponsor, shouldShowSponsor } from "../data/sponsors";
1919

2020
<style scoped>
2121
.no-brand {
22-
animation: no-brand 2s ease-in-out infinite;
2322
display: flex;
2423
justify-content: center;
2524
padding: 0 24px;
@@ -60,7 +59,7 @@ import { homeSponsor, shouldShowSponsor } from "../data/sponsors";
6059
}
6160
6261
#special-spsr img {
63-
height: 52px;
62+
height: 89px;
6463
margin: -6px 0;
6564
}
6665

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ home: true
33
watermark: false
44
config:
55
- type: hero
6+
background: tint-plate
7+
tintPlate: 240
68
hero:
79
name: FastAPI Best Architecture
810
tagline: 企业级后端架构解决方案

docs/backend/reference/pk.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ ID 作为主键的默认声明方式=={.note}
4949
2. 更新所有 `id_key` 导入为 `snowflake_id_key`
5050
3. 执行 `backend/sql/init_snowflake_test_data.sql` 脚本初始化测试数据
5151

52+
::: caution Windows 平台警告
53+
如果您正在 Windows 平台中使用 mysql >= 8.0,还需要更新 `backend/database/db.py` 文件内的 `mysql+asyncmy`
54+
`mysql+aiomysql`,否则,您将无法在本地正常新增数据。相关
55+
issue:[asyncmy/issues/35](https://github.com/long2ice/asyncmy/issues/35)
56+
:::
57+
5258
## 注意事项
5359

5460
- 使用雪花 ID 时,需确保时钟同步(如通过 NTP)和节点 ID 的唯一性分配

0 commit comments

Comments
 (0)