优化更新

This commit is contained in:
2026-09-13 20:29:19 +08:00
parent d7a081e8b7
commit 74f41f651f
65 changed files with 1061 additions and 1321 deletions
@@ -51,7 +51,7 @@
### R.ok() 成功响应
```python
from src.core.response import R
from src.core import response as R
# 基础成功响应
return R.ok()
@@ -114,7 +114,7 @@ return R.page(data=records, total=100, current=1, size=10)
## 在 Router 中使用
```python
from src.core.response import R
from src.core import response as R
# 查询详情:service 返回 dict,router 包 R.ok
@position_blue.route('/detail/<int:id>', methods=['GET'])