Merge remote-tracking branch 'origin/main'
# Conflicts: # admin-system/.env.production
This commit is contained in:
@@ -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>"
|
||||
```
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ npm run dev
|
||||
```
|
||||
|
||||
### 6. 验证部署
|
||||
- 后端API: https://api.jiebanke.com/api/v1/health
|
||||
- 后端API: https://webapi.jiebanke.com/api/v1/health
|
||||
- 后台管理: https://admin.jiebanke.com
|
||||
- 官方网站: https://www.jiebanke.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user