Skip to content

Commit 13084e9

Browse files
committed
update docs
1 parent a643ccc commit 13084e9

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

docs/.vuepress/theme.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,7 @@ export const myTheme: Theme = plumeTheme({
7474
categoryId: 'DIC_kwDOMv5sMc4CmLp9',
7575
lazyLoading: true,
7676
},
77-
llmstxt: true,
77+
llmstxt: {
78+
locale: 'all'
79+
},
7880
})

docs/ai/skills.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Skills
33
---
44

5-
[fba skill](https://skills.sh/fastapi-practices/skills/fba)提供完整的架构规范、编码风格、插件开发指导
5+
[fba skill](https://skills.sh/fastapi-practices/skills/fba) 提供完整的架构规范、编码风格、插件开发指导
66

77
[Skills 介绍](../blog/claude-ai-ecosystem.md){.read-more}
88

docs/blog/operator.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ fba 通过 JWT 中间件将用户信息存储到了每个请求的上下文中
3636
### 手动
3737

3838
首先,在接口函数中,像 Django/Flask 一样,传入一个 `request` 参数,最好,我们加上参数类型:`request: Request`
39-
,然后我们可以在接口函数中通过 `request.user.id` 轻松获取当前操作人员 id ,这样,在存储的时候,就可以传递此 id 进行存储
39+
,然后我们可以在接口函数中通过 `request.user.id` 获取当前操作人员 id ,这样,在存储的时候,就可以传递此 id 进行存储
40+
41+
除此之外,我们还可以通过 `ctx.user_id` 更便捷的获取操作人员 id,尽情享受吧
4042

4143
### 自动
4244

0 commit comments

Comments
 (0)