FIX readme

This commit is contained in:
Jasder 2020-08-18 16:42:17 +08:00
parent 9b25b7a9e6
commit 70e6c1395d
1 changed files with 2 additions and 3 deletions

View File

@ -2450,7 +2450,7 @@ https://localhost:3000/api/users/devops.json | jq
#### 初始化DevOps流程
```
POST /api/dev_ops/cloud_accounts
POST /api/ci/cloud_accounts
```
*示例*
@ -2460,7 +2460,7 @@ curl -X POST \
-d "secret=xxx" \
-d "ip_num=xx.xx.xx.xx" \
-d "project_id=5988" \
https://localhost:3000/api/dev_ops/cloud_accounts.json | jq
https://localhost:3000/api/ci/cloud_accounts.json | jq
```
*请求参数说明:*
@ -2528,7 +2528,6 @@ POST /api/dev_ops/cloud_accounts/:id/activate
*示例*
```
curl -X POST \
-d "id=1" \
-d "project_id=4844" \
-d "drone_token=xxxxxxxxxx" \
http://localhost:3000/api/dev_ops/cloud_accounts/1/activate.json | jq