优化更新

This commit is contained in:
2026-09-13 21:53:16 +08:00
parent 8548fe9ea1
commit 3f8626fb10
84 changed files with 2058 additions and 2594 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'])