File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff 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} )
Original file line number Diff line number Diff line change 22title : 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments