chore: 添加设计资料和示例工程

This commit is contained in:
2026-07-26 17:35:04 +08:00
parent e85a515183
commit 8178cb0e92
415 changed files with 31714 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
### 创建示例数据(需要 JWT
POST http://127.0.0.1:12426/Sample/v1/sample/demo
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": "Alice",
"age": 25
}
### 列表查询
GET http://127.0.0.1:12426/Sample/v1/sample/demo?page=1&size=20
Authorization: Bearer {{token}}
### 详情查询
GET http://127.0.0.1:12426/Sample/v1/sample/demo/{{identity}}
Authorization: Bearer {{token}}
### 更新
PUT http://127.0.0.1:12426/Sample/v1/sample/demo/{{identity}}
Content-Type: application/json
Authorization: Bearer {{token}}
{
"name": "Alice Updated",
"age": 26
}
### 删除
DELETE http://127.0.0.1:12426/Sample/v1/sample/demo/{{identity}}
Authorization: Bearer {{token}}