feat(deploy): 更新后端 API 域名并添加部署指南

- 将后端 API域名从 https://api.jiebanke.com 改为 https://webapi.jiebanke.com
- 新增 CentOS 服务器部署指南和相关脚本
- 更新环境变量配置和 API 文档中的示例 URL
This commit is contained in:
2025-09-08 18:10:41 +08:00
parent 18fe719f94
commit 54d00846ac
13 changed files with 392 additions and 25 deletions

View File

@@ -504,12 +504,12 @@ Authorization: Bearer <token>
### 使用curl测试
```bash
# 微信用户登录
curl -X POST https://api.jiebanke.com/api/v1/auth/wechat-login \
curl -X POST https://webapi.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 https://api.jiebanke.com/api/v1/travel/plans \
curl -X GET https://webapi.jiebanke.com/api/v1/travel/plans \
-H "Authorization: Bearer <token>"
```