更新文件结构,统一文档格式

This commit is contained in:
ylweng
2025-09-01 03:32:45 +08:00
parent 950ef70173
commit 23041faa2a
39 changed files with 817 additions and 111 deletions

View File

@@ -80,7 +80,7 @@ Authorization: Bearer <token>
"gender": "male",
"birthday": "1990-01-01",
"phone": "13800138000",
"email": "test@example.com",
"email": "test@jiebanke.com",
"travelCount": 5,
"animalClaimCount": 2,
"createdAt": "2024-01-01T00:00:00.000Z",
@@ -504,12 +504,12 @@ Authorization: Bearer <token>
### 使用curl测试
```bash
# 微信用户登录
curl -X POST http://localhost:3000/api/v1/auth/wechat-login \
curl -X POST https://api.jiebanke.com/api/v1/auth/wechat-login \
-H "Content-Type: application/json" \
-d '{"code":"wxlogincode123","userInfo":{"nickName":"测试用户","avatarUrl":"https://avatar.url","gender":1}}'
# 获取旅行计划列表
curl -X GET http://localhost:3000/api/v1/travel/plans \
curl -X GET https://api.jiebanke.com/api/v1/travel/plans \
-H "Authorization: Bearer <token>"
```