Commit 7ec74cf3 by jixudong

Upload New File

parent 181fb009
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**生产环境URL**:http://tx-gz11.heyqiwu.cn
[TOC]
### 获取所有回归测试任务
**METHOD**: GET
**path**: api/platform/design/auto/bot/test/task
**RequestHeaders:** 同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| -------- | ---- | -------- | --------------------------------------------- |
| pageSize | | yes | 账号名 |
| pageNum | | yes | 昵称名 |
| id | | no | 自动生成任务ID,为空表示获取这个用户所有的任务 |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求示例
```js
curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task?pageSize=10&pageNum=1' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFNE5ERTVOek1zSW1WNGNDSTZNVGN3TVRnME9URTNNeXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLnZpNjRhVWQ3UHBZaEhtM3VDY3RLVkZMbi1NVGt4NV9GeUdaOTBIbUtsdEk6czAwcGVyczNjcmV0' \
-H 'Connection: keep-alive' \
-H 'Origin: http://localhost:8080' \
-H 'Referer: http://localhost:8080/' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' \
-H 'botAccount: 1524195459' \
-H 'groupId: 49' \
-H 'mul: true' \
-H 'projectId: 963' \
--compressed \
--insecure
```
#### 响应实例
```json
{
"code": 1,
"msg": "成功",
"data": {
"pageNum": 1,
"pageSize": 10,
"totalPageSize": 1,
"curPageDataSize": 5,
"total": 5,
"isFirstPage": true,
"isLastPage": true,
"hasNextPage": false,
"hasPreviousPage": false,
"list": [
{
"id": 1267,
"name": "测试带渠道和uid",
"uid": "007",
"channelId": "zhuimenggarden-phone-sdk-pro",
"botTestDataName": "卧龙先生回归数据.csv",
"testServer": "http://hw-gz71.heyqiwu.cn",
"botAccount": "gz38botwolongxiansheng22080906250315",
"ownerId": null,
"gmtCreate": "2022-09-07T03:50:34.000+0000",
"gmtModified": "2022-09-07T03:50:34.000+0000"
},
{
"id": 1263,
"name": "测试不添加渠道ID",
"uid": "008",
"channelId": "",
"botTestDataName": "卧龙先生回归数据.csv",
"testServer": "http://hw-gz24.heyqiwu.cn",
"botAccount": "gz38botwolongxiansheng0426234967194",
"ownerId": null,
"gmtCreate": "2022-09-07T02:40:20.000+0000",
"gmtModified": "2022-09-07T02:40:20.000+0000"
}
]
}
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment