File tree Expand file tree Collapse file tree 10 files changed +22
-20
lines changed Expand file tree Collapse file tree 10 files changed +22
-20
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ export const myNavbar = defineNavbarConfig([
80
80
} ,
81
81
{
82
82
text : '插件市场' ,
83
- icon : 'clarity:plugin-solid ' ,
83
+ icon : 'unjs:unplugin ' ,
84
84
link : '/plugin/before'
85
85
} ,
86
86
{
87
- text : '授权 ' ,
87
+ text : '购买授权 ' ,
88
88
icon : 'fluent:person-key-20-filled' ,
89
89
link : '/backend/summary/why.md#承诺'
90
90
} ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ def test() -> ResponseSchemaModel[GetApiDetail]:
75
75
我们可以看到,响应 Schema 中的 data 已经包含我们的响应体结构了,响应体结构正是解析的 ` [] ` 中的 Schema 模型,它们是对应的,如果返回的数据结构与
76
76
Schema 不一致,将引发解析错误
77
77
78
- == 我们建议将这种方式仅用于查询接口=={.note} ,如果你不需要这种文档,你完全可以不使用它,而是使用更加开放的统一响应模型
78
+ 我们建议将这种方式仅用于查询接口,如果你不需要这种文档,你完全可以不使用它,而是使用更加开放的统一响应模型
79
79
ResponseModel
80
80
81
81
## 统一返回方法
Original file line number Diff line number Diff line change @@ -3,15 +3,9 @@ title: 快速开始
3
3
---
4
4
5
5
::: caution
6
- == fba 仅适用于资深 Python 后端开发人员=={.warning} ,如果您是非资深用户,建议使用 [ 精简版] ( ../summary/fsm.md )
6
+ fba 仅适用于资深 Python 后端开发人员,如果您是非资深用户,我们建议您从 [ 精简版] ( ../summary/fsm.md ) 开始学习
7
7
:::
8
8
9
- > [ !IMPORTANT]
10
- > 我们建议新手用户从基础且简单的部分开始学习,这不仅是对自己学习负责的表现,也为未来顺利掌握这一架构奠定了坚实基础。欢迎加入我们的
11
- > Discord 社区,一起交流讨论!
12
- >
13
- > 最后,请务必认真阅读本文档,并严格按照文档的顺序启动项目,否则在启动过程中很可能会遇到各种问题。
14
-
15
9
## 本地开发
16
10
17
11
::: tip
@@ -142,7 +136,7 @@ title: 快速开始
142
136
143
137
9 . 启动 celery worker, beat 和 flower <Badge type =" warning " text =" 此步骤为可选 " />
144
138
145
- 在 ` backend ` 目录打开终端,执行以下创建启动 celery 相关服务
139
+ 在 ` backend ` 目录打开终端,执行以下命令启动 celery 相关服务
146
140
147
141
::: code-tabs
148
142
@tab Worker
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import NpmBadge from 'vuepress-theme-plume/features/NpmBadge.vue'
12
12
::: note
13
13
我们不会去对比任何其他架构,我们认为每个架构都有自己的特点,适用于不同的场景。
14
14
15
- 但 fba 绝对是开源架构中==代码最干净 ,最规范且最令人赏心悦目的项目之一=={.note}
15
+ 但 ==fba 绝对是开源架构中代码最干净 ,最规范且最令人赏心悦目的项目之一=={.note}
16
16
:::
17
17
18
18
## 目标
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ title: Arco Design Pro 实验性实施
11
11
12
12
::: caution
13
13
「Arco Design Pro 实验性实施」自 fba [ v1.0.4] ( https://github.com/fastapi-practices/fastapi_best_architecture/releases/tag/v1.0.4 )
14
- 版本起,正式宣告其使命完结。
14
+ 版本起,正式宣告其使命完结,fba 后续版本将不再对此进行适配!
15
15
:::
Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ title: 介绍
3
3
---
4
4
5
5
基于 Vben Admin Antd 构建的 fastapi_best_architecture 前端完整版实施
6
+
7
+ ::: warning
8
+ 此版本目前正在开发中...
9
+ :::
Original file line number Diff line number Diff line change 2
2
title : 快速开始
3
3
---
4
4
5
- 奋力开发中...
6
-
7
- ::: warning
8
- 抢先拉取代码进行体验的用户,请同步拉取最新 fba 代码并清理 redis 缓存
9
- :::
5
+ 抢先进行体验的用户,请自行拉取最新前后端代码并清理 redis 缓存
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ title: 插件开发
39
39
- service/ 服务 <Badge type =" warning " text =" 非必须 " />
40
40
- utils/ 工具包 <Badge type =" warning " text =" 非必须 " />
41
41
- \_\_ init__ .py 作为 python 包保留 <Badge type =" danger " text =" 必须 " />
42
+ - ...
42
43
- conf.py 常量配置 <Badge type =" warning " text =" 非必须 " />
43
44
- plugin.toml 插件配置文件 <Badge type =" danger " text =" 必须 " />
44
45
- README.md 插件使用说明 <Badge type =" danger " text =" 必须 " />
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ title: 插件市场
22
22
23
23
这些插件由 fba 内置
24
24
25
-
26
25
<CardGrid >
27
26
<Card icon =" fe:notice-active " title =" 通知公告 " >
28
27
<p style="color: #898989;">发布系统内部通知、公告</p>
@@ -71,6 +70,14 @@ title: 插件市场
71
70
<Badge text="extra" color="#11aa00"/>
72
71
</span>
73
72
</LinkCard >
73
+ <LinkCard icon =" streamline:ai-prompt-spark " title =" MCP ChatGPT " href =" https://github.com/fastapi-practices/fba_mcp " >
74
+ <p style="color: #898989;">可调用 MCP 服务器的增强版 AI 聊天</p>
75
+ <span>
76
+ <Badge type="info" text="free" />
77
+ <Badge type="tip" text="fba" />
78
+ <Badge text="extra" color="#11aa00"/>
79
+ </span>
80
+ </LinkCard >
74
81
</CardGrid >
75
82
76
83
## 第三方
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ title: 谁在使用?
10
10
> 2 . ** 优先支持** :登记后,您将被视为我们的优质用户,我们的维护团队将优先响应您在实际使用过程中遇到的问题
11
11
> 3 . ** 官方认可** :您会在我们的官方网站上获得集中展示,让更多人有机会了解您的公司或项目
12
12
>
13
- > 在进行用户调研时,一个常见且关键的问题是:==此项目有人应用在生产环境中吗 ?=={.note}
13
+ > 在进行用户调研时,一个常见且关键的问题是:==这个项目有人在生产环境中使用吗 ?=={.note}
14
14
> 面对这样的询问,仅仅依赖口头回答往往显得苍白无力,而使用登记数据则更为直观且有力,至此,我们再次非常诚挚的邀请您参与用户登记
15
15
16
16
## 公司 / 组织
You can’t perform that action at this time.
0 commit comments